Skip to content
This repository has been archived by the owner on Feb 24, 2018. It is now read-only.

Commit

Permalink
Fix CSS data paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Croydon committed Apr 30, 2017
1 parent a71aba5 commit c31701a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions webextension/lib.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
{
Expand All @@ -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
{
Expand Down

0 comments on commit c31701a

Please sign in to comment.