fix javascript strict warning message, r=vishy, sr=blake

This commit is contained in:
morse%netscape.com 2001-07-23 00:47:49 +00:00
Родитель 5c07ac5a48
Коммит 4a1e5d20ca
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -49,7 +49,7 @@
function changePasswords() function changePasswords()
{ {
wallet = Components.classes['@mozilla.org/wallet;1']; var wallet = Components.classes['@mozilla.org/wallet;1'];
wallet = wallet.getService(); wallet = wallet.getService();
wallet = wallet.QueryInterface(Components.interfaces.nsIWalletService); wallet = wallet.QueryInterface(Components.interfaces.nsIWalletService);
wallet.WALLET_ChangePassword(); wallet.WALLET_ChangePassword();
@ -57,7 +57,7 @@
function initReencryptCallback() function initReencryptCallback()
{ {
wallet = Components.classes['@mozilla.org/wallet/wallet-service;1']; var wallet = Components.classes['@mozilla.org/wallet/wallet-service;1'];
wallet = wallet.getService(); wallet = wallet.getService();
wallet = wallet.QueryInterface(Components.interfaces.nsIWalletService); wallet = wallet.QueryInterface(Components.interfaces.nsIWalletService);
wallet.WALLET_InitReencryptCallback(window); wallet.WALLET_InitReencryptCallback(window);