From 8101e67b10da75322635a5218018393031b03102 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Mon, 4 Jul 2016 10:40:09 -0400 Subject: [PATCH] fix thumbnailing --- contrib/js/livechan.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/js/livechan.js b/contrib/js/livechan.js index 9aecd85..23124b4 100644 --- a/contrib/js/livechan.js +++ b/contrib/js/livechan.js @@ -1185,7 +1185,7 @@ Chat.prototype.generateChat = function(data) { var a = document.createElement('a'); a.setAttribute('target', '_blank'); // TODO: make these configurable - var thumb_url = self.options.prefix + 'thm/'+file.Path; + var thumb_url = self.options.prefix + 'thm/'+file.Path + ".jpeg"; var src_url = self.options.prefix + 'img/'+file.Path; a.setAttribute('href',src_url);