diff --git a/popup.js b/popup.js index 1343265..350a0d4 100644 --- a/popup.js +++ b/popup.js @@ -192,6 +192,9 @@ function decrementTabCount(tabLi){ if (windows.tagName.toLowerCase()!='ul' || windows.id!="windows"){ throw "Not a tab li"; } + if (num===1){ + li.querySelector('span.textContent>span.tabWord').textContent = " tab" + } if (num===0){ windows.removeChild(li); }