]> code.citadel.org Git - citadel.git/blobdiff - webcit-ng/static/js/view_mail.js
Variables in proper scope
[citadel.git] / webcit-ng / static / js / view_mail.js
index cb33d577d43d010f91a3c315fa66ae9c62bb3cfd..c26d957ce7d56767cafd9405ad864536069f497c 100644 (file)
@@ -374,7 +374,7 @@ function msm_field(element_name, separator) {
        let s3 = decodeURI(s2);
        let s4 = document.createElement("textarea");    // This One Weird Trick Unescapes All HTML Entities
        s4.innerHTML = s3;
-       s5 = s4.value;
+       let s5 = s4.value;
        return(s5);
 }