mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1074410 - Remove a use of isWindowPrivate (r=margaret)
This commit is contained in:
parent
8e4f0e8a60
commit
d60cf0a33f
@ -9,7 +9,7 @@ const Cu = Components.utils;
|
||||
|
||||
Cu.import("resource://gre/modules/PrivateBrowsingUtils.jsm");
|
||||
|
||||
if (!PrivateBrowsingUtils.isWindowPrivate(window)) {
|
||||
if (!PrivateBrowsingUtils.isContentWindowPrivate(window)) {
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
document.body.setAttribute("class", "normal");
|
||||
}, false);
|
||||
|
Loading…
Reference in New Issue
Block a user