fix sentbox not showing first sent

master
Kevin Froman 2019-09-09 18:21:05 -05:00
parent 67e16f2d7d
commit b56e8eeabd
1 changed files with 1 additions and 2 deletions

View File

@ -278,9 +278,8 @@ function getSentbox(){
if (keys.length == 0){ if (keys.length == 0){
threadPart.innerHTML = "nothing to show here yet." threadPart.innerHTML = "nothing to show here yet."
} }
for (var i = keys.length - 1; i > 0; i--) (function(i, resp){ for (var i = keys.length - 1; i > -1; i--) (function(i, resp){
var entry = document.createElement('div') var entry = document.createElement('div')
var obj = resp[i]
var toLabel = document.createElement('span') var toLabel = document.createElement('span')
toLabel.innerText = 'To: ' toLabel.innerText = 'To: '
var toEl = document.createElement('input') var toEl = document.createElement('input')