mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
Bug 303058 - Missing plugin bar no longer appears. r=mconnor
This commit is contained in:
parent
4169d30328
commit
cfe6f6a0e5
@ -5792,7 +5792,7 @@ missingPluginInstaller.prototype.newMissingPlugin = function(aEvent){
|
||||
var tabbrowser = getBrowser();
|
||||
const browsers = tabbrowser.mPanelContainer.childNodes;
|
||||
|
||||
var window = aEvent.target.ownerDocument.__parent__;
|
||||
var window = aEvent.target.ownerDocument.defaultView;
|
||||
// walk up till the toplevel window
|
||||
while (window.parent != window)
|
||||
window = window.parent;
|
||||
|
Loading…
Reference in New Issue
Block a user