actually fix thumbnails
This commit is contained in:
parent
8101e67b10
commit
e461462bd6
@ -1185,7 +1185,7 @@ Chat.prototype.generateChat = function(data) {
|
|||||||
var a = document.createElement('a');
|
var a = document.createElement('a');
|
||||||
a.setAttribute('target', '_blank');
|
a.setAttribute('target', '_blank');
|
||||||
// TODO: make these configurable
|
// 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;
|
var src_url = self.options.prefix + 'img/'+file.Path;
|
||||||
|
|
||||||
a.setAttribute('href',src_url);
|
a.setAttribute('href',src_url);
|
||||||
|
Reference in New Issue
Block a user