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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user