|
|
@ -20,7 +20,6 @@ function processDMsnippet(dmUsers, dmThreadList) { |
|
|
|
dmThreadList.empty(); |
|
|
|
dmThreadList.empty(); |
|
|
|
|
|
|
|
|
|
|
|
for (var u in dmUsers) { |
|
|
|
for (var u in dmUsers) { |
|
|
|
if (dmUsers[u]) { |
|
|
|
|
|
|
|
// convert snipped to html and add it to date-sorted list
|
|
|
|
// convert snipped to html and add it to date-sorted list
|
|
|
|
var dmItem = dmDataToSnippetItem(dmUsers[u][0], u); |
|
|
|
var dmItem = dmDataToSnippetItem(dmUsers[u][0], u); |
|
|
|
var timeDmItem = parseInt(dmItem.attr('data-time')); |
|
|
|
var timeDmItem = parseInt(dmItem.attr('data-time')); |
|
|
@ -37,7 +36,6 @@ function processDMsnippet(dmUsers, dmThreadList) { |
|
|
|
if (j === existingItems.length) |
|
|
|
if (j === existingItems.length) |
|
|
|
dmThreadList.append(dmItem); |
|
|
|
dmThreadList.append(dmItem); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
$.MAL.dmThreadListLoaded(); |
|
|
|
$.MAL.dmThreadListLoaded(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|