mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 10:37:58 +01:00
Fix the tab count status-line field in FF 3.5.
This commit is contained in:
@@ -370,7 +370,8 @@ function Events() //{{{
|
|||||||
tabcontainer.addEventListener("TabSelect", function (event) {
|
tabcontainer.addEventListener("TabSelect", function (event) {
|
||||||
// TODO: is all of that necessary?
|
// TODO: is all of that necessary?
|
||||||
modes.reset();
|
modes.reset();
|
||||||
statusline.updateTabCount();
|
// XXX: apparently the tab container hasn't updated mTabs yet
|
||||||
|
setTimeout(function () { statusline.updateTabCount(); }, 0);
|
||||||
tabs.updateSelectionHistory();
|
tabs.updateSelectionHistory();
|
||||||
|
|
||||||
if (options["focuscontent"])
|
if (options["focuscontent"])
|
||||||
|
|||||||
Reference in New Issue
Block a user