diff --git a/js/load-summary.js b/js/load-summary.js index c07a8d40..8101cc36 100644 --- a/js/load-summary.js +++ b/js/load-summary.js @@ -30,6 +30,7 @@ function parseAndShowDocument(data, url) { var obj = JSON.parse(data.contents.split('&').join('&').split('<').join('<').split('>').join('>').split('\n').join('
')); var ended = new Date(obj.giveaway.end * 1000); var text = "

Giveaway Summary

" + + obj.giveaway.desc == null ? "" : infoFormat("Description", obj.giveaway.desc) + infoFormat("Prize", obj.giveaway.prize) + infoFormat("Host", userFormat(obj.giveaway.host)) + infoFormat("Winners", obj.giveaway.num_winners)