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
Родитель d6037ef203
Коммит 100acdfe21
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

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