bug 51756, r=pinkerton, only pass in ONE 'security-button' DOM element

This commit is contained in:
pchen%netscape.com 2000-09-07 23:36:06 +00:00
parent d6037ef203
commit 100acdfe21

View File

@ -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()