1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 12:47:59 +01:00

Fix the tab count status-line field in FF 3.5.

This commit is contained in:
Doug Kearns
2009-07-09 05:41:00 +10:00
parent 84fd82e473
commit 8cb22c4c97

View File

@@ -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"])