mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-17 07:15:46 +00:00
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:
parent
10696994a2
commit
f27623ec26
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user