From b42277606bf758184a1e9660b70ae8205e6270e3 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 9 Jun 2009 20:24:02 -0600 Subject: [PATCH] Use less confusing variable name --- imp/js/src/imp.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/imp/js/src/imp.js b/imp/js/src/imp.js index 6925d9d85..baf06cdf6 100644 --- a/imp/js/src/imp.js +++ b/imp/js/src/imp.js @@ -70,14 +70,14 @@ IMP.unblockImages = function(e) { var elt = e.element().up('TABLE.mimeStatusMessage'); - elt.next('.htmlMessage').select('[blocked]').each(function(elt) { - var src = decodeURIComponent(elt.readAttribute('blocked')); - if (elt.hasAttribute('src')) { - elt.writeAttribute('src', src); - } else if (elt.hasAttribute('background')) { - elt.writeAttribute('background', src); - } else if (elt.style.backgroundImage) { - elt.setStyle({ backgroundImage: 'url(' + src + ')' }); + elt.next('.htmlMessage').select('[blocked]').each(function(e) { + var src = decodeURIComponent(e.readAttribute('blocked')); + if (e.hasAttribute('src')) { + e.writeAttribute('src', src); + } else if (e.hasAttribute('background')) { + e.writeAttribute('background', src); + } else if (e.style.backgroundImage) { + e.setStyle({ backgroundImage: 'url(' + src + ')' }); } }); -- 2.11.0