Bug 1269877: Fix timing issue in options browser resizing code. r=aswan

MozReview-Commit-ID: 9aV8QH7w8R8

--HG--
extra : rebase_source : 449ba79bbd5376541c0206af172bd9b67b16a229
extra : histedit_source : 3917ad5e12f2603733c8447e599633e77b7a3813
This commit is contained in:
Kris Maglione 2016-06-02 19:06:42 -07:00
parent 10696994a2
commit f27623ec26

View File

@ -3472,6 +3472,10 @@ var gDetailView = {
timeout = null;
let doc = browser.contentDocument;
if (!doc) {
return;
}
let body = doc.body || doc.documentElement;
let docHeight = doc.documentElement.getBoundingClientRect().height;