mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 622422 - Allow initial pageshow event to complete before firing UIReadyDelayed event [r=mbrubeck]
This commit is contained in:
parent
8fbb97711c
commit
3b0afa9537
@ -476,9 +476,11 @@ var BrowserUI = {
|
||||
|
||||
messageManager.removeMessageListener("pageshow", arguments.callee, true);
|
||||
|
||||
let event = document.createEvent("Events");
|
||||
event.initEvent("UIReadyDelayed", true, false);
|
||||
window.dispatchEvent(event);
|
||||
setTimeout(function() {
|
||||
let event = document.createEvent("Events");
|
||||
event.initEvent("UIReadyDelayed", true, false);
|
||||
window.dispatchEvent(event);
|
||||
}, 0);
|
||||
});
|
||||
|
||||
// Delay the panel UI and Sync initialization.
|
||||
|
Loading…
Reference in New Issue
Block a user