From 4dae995eaa87251a35f4165c97ef6ec8e70d059b Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Fri, 21 Feb 2020 02:46:59 -0600 Subject: [PATCH] remove defunct commented out padding code --- static-data/www/mail/mail.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/static-data/www/mail/mail.js b/static-data/www/mail/mail.js index 858a93e1..12956d98 100755 --- a/static-data/www/mail/mail.js +++ b/static-data/www/mail/mail.js @@ -106,21 +106,6 @@ function openThread(bHash, sender, date, sigBool, pubkey, subjectLine){ document.getElementById('subjectView').innerText = subjectLine resp = stripEndZeroes(resp) - /* - resp = resp.split("") - let zeroCount = 0 - for (x = resp.length - 1; x != 0; x--){ - if (resp[x] == "0"){ - zeroCount += 1 - } - else{ - break - } - } - resp.splice(resp.length - zeroCount, zeroCount) - resp = resp.join("") - */ - messageDisplay.innerText = resp var sigEl = document.getElementById('sigValid')