From 36e14467847539f0cc8af57c8ea26e866d80de05 Mon Sep 17 00:00:00 2001 From: "kaie%netscape.com" Date: Mon, 13 May 2002 14:03:51 +0000 Subject: [PATCH] b=127175 Fix javascript strict warnings r=javi sr=mscott --- .../smime/resources/content/msgReadSecurityInfo.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mailnews/extensions/smime/resources/content/msgReadSecurityInfo.js b/mailnews/extensions/smime/resources/content/msgReadSecurityInfo.js index d1755cdbc9a4..e7a1dbea6787 100644 --- a/mailnews/extensions/smime/resources/content/msgReadSecurityInfo.js +++ b/mailnews/extensions/smime/resources/content/msgReadSecurityInfo.js @@ -145,10 +145,11 @@ function onLoad() document.getElementById("signatureLabel").value = bundle.getString(sigInfoLabel); + var label; if (sigInfoHeader) { - var l = document.getElementById("signatureHeader"); - l.collapsed = false; - l.value = bundle.getString(sigInfoHeader); + label = document.getElementById("signatureHeader"); + label.collapsed = false; + label.value = bundle.getString(sigInfoHeader); } var str; @@ -189,12 +190,11 @@ function onLoad() bundle.getString(encInfoLabel); if (encInfoHeader) { - var l = document.getElementById("encryptionHeader"); - l.collapsed = false; - l.value = bundle.getString(encInfoHeader); + label = document.getElementById("encryptionHeader"); + label.collapsed = false; + label.value = bundle.getString(encInfoHeader); } - var str; if (encInfo) { str = bundle.getString(encInfo); }