mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
bug 51756, r=pinkerton, only pass in ONE 'security-button' DOM element
This commit is contained in:
parent
d6037ef203
commit
100acdfe21
@ -32,9 +32,8 @@ function SetSecurityButton()
|
||||
securityUI = ui.QueryInterface(Components.interfaces.nsSecureBrowserUI);
|
||||
|
||||
var button = document.getElementById('security-button');
|
||||
var certAuth = document.getElementById('security-button');
|
||||
if (button && window._content)
|
||||
securityUI.init(window._content, button, certAuth);
|
||||
securityUI.init(window._content, button);
|
||||
}
|
||||
|
||||
function displayPageInfo()
|
||||
|
Loading…
Reference in New Issue
Block a user