diff --git a/js/post-hover.js b/js/post-hover.js index fe99ccb9..aa4f5c60 100644 --- a/js/post-hover.js +++ b/js/post-hover.js @@ -208,6 +208,7 @@ onready(function(){ $.each(file_array, function () { var thumb_url; + var file_ext = this.ext; if (this.isImage && !this.isSpoiler) { // video files uses jpg for thumbnail @@ -220,7 +221,7 @@ onready(function(){ var $ele = $('
') .append($('

') .append('File: ') - .append(''+ this.filename + this.ext +'') + .append(''+ this.filename + file_ext +'') .append(' ('+ bytesToSize(this.fsize) +', '+ this.w +'x'+ this.h +')') ); if (multifile) $ele.addClass('multifile').css('max-width', '200px');