Archived
1
0

actually fix thumbnails

This commit is contained in:
Jeff Becker 2016-07-04 10:43:08 -04:00
parent 8101e67b10
commit e461462bd6
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B

View File

@ -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 + ".jpeg";
var thumb_url = self.options.prefix + 'thm/'+file.Path + ".jpg";
var src_url = self.options.prefix + 'img/'+file.Path;
a.setAttribute('href',src_url);