mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-06 19:14:11 +01:00
Lots of rangefinder and Gecko 2 tabbing fixes.
This commit is contained in:
@@ -188,10 +188,10 @@ const StatusLine = Module("statusline", {
|
||||
|
||||
// update the ordinal which is used for numbered tabs
|
||||
if (options.get("guioptions").has("n", "N"))
|
||||
for (let [i, tab] in util.Array.iteritems(config.browser.mTabs))
|
||||
for (let [i, tab] in Iterator(tabs.visibleTabs))
|
||||
tab.setAttribute("ordinal", i + 1);
|
||||
|
||||
this.widgets.tabcount.value = "[" + (tabs.index() + 1) + "/" + tabs.count + "]";
|
||||
this.widgets.tabcount.value = "[" + (tabs.index(null, true) + 1) + "/" + tabs.visibleTabs.length + "]";
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user