1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-17 00:25:46 +01:00

added vimperator.has("feature") and made vimperator.open(...) work in thunderbird as well

This commit is contained in:
Martin Stubenschrott
2008-02-05 15:30:08 +00:00
parent 7d9e1e100a
commit 5f04e70663
5 changed files with 39 additions and 17 deletions

View File

@@ -1202,6 +1202,12 @@ vimperator.StatusLine = function () //{{{
// you can omit either of the 2 arguments
updateTabCount: function (currentIndex, totalTabs)
{
if (!vimperator.has("tabs"))
{
tabCountWidget = "";
return;
}
if (!currentIndex || typeof currentIndex != "number")
currentIndex = vimperator.tabs.index() + 1;
if (!totalTabs || typeof currentIndex != "number")