diff --git a/webextension/lib.js b/webextension/lib.js index 1716b3c..7984913 100644 --- a/webextension/lib.js +++ b/webextension/lib.js @@ -149,7 +149,7 @@ var VerticalTabsReloaded = class VerticalTabsReloaded let id = tab.id; let url = tab.url; let title = tab.title || "Connecting..."; - let pinned = false; + let pinned = tab.pinned; let div = document.createElement("div"); div.className = "tabbrowser-tab"; @@ -161,8 +161,17 @@ var VerticalTabsReloaded = class VerticalTabsReloaded a.innerText = this.url; a.href = this.url;*/ + if(pinned == true) + { + var pinnedHTML = 'pinned="true"'; + } + else + { + var pinnedHTML = ''; + } + // Check: fadein="true" context="tabContextMenu" linkedpanel="panel-3-77" pending="true" image="" iconLoadingPrincipal="" align="stretch" - this.tabbrowser.insertAdjacentHTML("beforeend", `