mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 14:45:29 +00:00
Bug 597580 - Remove old display:none hack in resize handler [r=stechz]
--HG-- extra : rebase_source : c69fff04db91dffb88ff9abe040ec963ecb5f1ab
This commit is contained in:
parent
3e470389e9
commit
7fa9cb0b65
@ -286,11 +286,6 @@ var Browser = {
|
||||
// bound it to a sane place, but not where we were when the resize began :(
|
||||
Browser.hideTitlebar();
|
||||
|
||||
// XXX Hack. Browser also behaves badly on resize.
|
||||
let browser = getBrowser();
|
||||
browser.style.display = "none";
|
||||
browser.style.display = "block";
|
||||
|
||||
// We want to keep the current focused element into view if possible
|
||||
let currentElement = document.activeElement;
|
||||
let [scrollbox, scrollInterface] = ScrollUtils.getScrollboxFromElement(currentElement);
|
||||
|
Loading…
Reference in New Issue
Block a user