Bug 597580 - Remove old display:none hack in resize handler [r=stechz]

--HG--
extra : rebase_source : c69fff04db91dffb88ff9abe040ec963ecb5f1ab
This commit is contained in:
Matt Brubeck 2010-10-20 14:00:39 -07:00
parent 3e470389e9
commit 7fa9cb0b65

View File

@ -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);