From 92ca196587ce77dc110ba450f837547ff0f9a0e8 Mon Sep 17 00:00:00 2001 From: Croydon Date: Wed, 18 Oct 2017 14:10:36 +0200 Subject: [PATCH] v0.8.5.2 --- .gitignore | 1 + changelog.md | 7 +++++++ lib/verticaltabs.js | 2 +- package.json | 2 +- webextension/main.js | 1 + 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 8520cc8..378ce83 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ build webextension/web-ext-artifacts +web-ext-artifacts/ *~ *.DS_Store *.xpi diff --git a/changelog.md b/changelog.md index 3710323..49cfef5 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ # Changelog +### v0.8.5.2, 2017-10-04 + * fixed: workaround problem that sidebar position (left, right) is not set correctly (#129) + + +*** + + ### v0.8.5.1, 2017-10-03 * fixed: workaround problem that sidebar width is not set correctly (#129) diff --git a/lib/verticaltabs.js b/lib/verticaltabs.js index 5c3c709..c34bed3 100644 --- a/lib/verticaltabs.js +++ b/lib/verticaltabs.js @@ -279,7 +279,7 @@ var VerticalTabsReloaded = class VerticalTabsReloaded case "right": this.webExtPreferences = newValue; let browserbox = this.document.getElementById("browser"); - if (browserbox.dir != "reverse") + if (this.preferences("right")) { browserbox.dir = "reverse"; } diff --git a/package.json b/package.json index b7a5272..bfaab24 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "icon": "resource://verticaltabsreloaded-at-go-dev-dot-de/webextension/data/icon.png", "author": "Croydon", "license": "MPL-2.0", - "version": "0.8.5.1", + "version": "0.8.5.2", "permissions": { "private-browsing": true, diff --git a/webextension/main.js b/webextension/main.js index 17ca07c..0ed1e79 100644 --- a/webextension/main.js +++ b/webextension/main.js @@ -323,6 +323,7 @@ setTimeout(() => setTimeout(() => { sdk_send_changed_setting("width"); + sdk_send_changed_setting("right"); }, 500); }, 100);