mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1043346 - In-content prefs - Reset width and height of sub-dialogs when closing. r=jaws
This commit is contained in:
parent
962617d0c1
commit
33816c5260
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user