From: Michael M Slusarz Date: Wed, 10 Jun 2009 02:24:02 +0000 (-0600) Subject: Use less confusing variable name X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b42277606bf758184a1e9660b70ae8205e6270e3;p=horde.git Use less confusing variable name --- 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 + ')' }); } });