mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 09:49:14 +00:00
Still more toolbar tweaks.
This commit is contained in:
parent
aff55fb896
commit
1ffda7121b
@ -61,7 +61,7 @@
|
||||
var hbox = (document.getAnonymousNodes(this))[0].firstChild;
|
||||
this.toolbar.controllers.appendController(this.commandController);
|
||||
var theToolbar = this;
|
||||
this.resizeFunc = function(event) {
|
||||
var resizeFunc = function(event) {
|
||||
theToolbar._overflowTimerInEffect = false;
|
||||
var buttons = (document.getAnonymousNodes(theToolbar))[0].firstChild;
|
||||
var menu = buttons.nextSibling.childNodes[1];
|
||||
@ -89,7 +89,8 @@
|
||||
}
|
||||
}
|
||||
};
|
||||
window.addEventListener("resize", this.resizeFunc, false);
|
||||
this.resizeFunc = resizeFunc;
|
||||
window.addEventListener("resize", resizeFunc, false);
|
||||
hbox.database.AddObserver(this);
|
||||
]]></constructor>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user