Bug 1043346 - In-content prefs - Reset width and height of sub-dialogs when closing. r=jaws

This commit is contained in:
Shubham Jindal 2014-12-15 01:21:00 -05:00
parent 962617d0c1
commit 33816c5260

View File

@ -89,6 +89,9 @@ let gSubDialog = {
this._overlay.style.visibility = "";
// Clear the sizing inline styles.
this._frame.removeAttribute("style");
// Clear the sizing attributes
this._box.removeAttribute("width");
this._box.removeAttribute("height");
setTimeout(() => {
// Unload the dialog after the event listeners run so that the load of about:blank isn't