From c31701ad17358c6c3288f20e4fa4ce3c50b96809 Mon Sep 17 00:00:00 2001 From: Croydon Date: Tue, 11 Apr 2017 15:26:36 +0200 Subject: [PATCH] Fix CSS data paths --- webextension/lib.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/webextension/lib.js b/webextension/lib.js index bf0bcf4..1716b3c 100644 --- a/webextension/lib.js +++ b/webextension/lib.js @@ -96,18 +96,18 @@ var VerticalTabsReloaded = class VerticalTabsReloaded // FIREFIX: Placeholder. Firefox doesn't support hiding the default tabbrowser currently. // Injecting CSS - this.installStylesheet(browser.runtime.getURL("theme/base.css"), "base"); + this.installStylesheet(browser.runtime.getURL("data/theme/base.css"), "base"); this.applyThemeStylesheet(); if (this.preferences("compact") == true) { this.debug_log("compact true"); - this.installStylesheet(browser.runtime.getURL("compact.css"), "compact"); + this.installStylesheet(browser.runtime.getURL("data/compact.css"), "compact"); } if (this.preferences("style.tab.status") == true) { this.debug_log("style.tab.status true"); - this.installStylesheet(browser.runtime.getURL("status.css"), "status"); + this.installStylesheet(browser.runtime.getURL("data/status.css"), "status"); } // FIREFIX: Placeholder. Sidebars on the right are currently not suppoted by Firefox. @@ -268,7 +268,7 @@ var VerticalTabsReloaded = class VerticalTabsReloaded this.webExtPreferences[prefName] = newValue; if (this.preferences("compact") == true) { - this.installStylesheet(browser.runtime.getURL("compact.css"), "compact"); + this.installStylesheet(browser.runtime.getURL("data/compact.css"), "compact"); } else { @@ -280,7 +280,7 @@ var VerticalTabsReloaded = class VerticalTabsReloaded this.webExtPreferences[prefName] = newValue; if (this.preferences("style.tab.status") == true) { - this.installStylesheet(browser.runtime.getURL("status.css"), "status"); + this.installStylesheet(browser.runtime.getURL("data/status.css"), "status"); } else {