Fix trailing comma

This commit is contained in:
Zixaphir 2015-03-18 20:50:41 -07:00 committed by czaks
parent cad8019068
commit 633c223282

View File

@ -144,7 +144,7 @@ function imageHoverStart(e) { //Pashe, anonish, WTFPL
if (getSetting("imageHoverFollowCursor")) { if (getSetting("imageHoverFollowCursor")) {
var size = $this.parents('.file').find('.unimportant').text().match(/\b(\d+)x(\d+)\b/), var size = $this.parents('.file').find('.unimportant').text().match(/\b(\d+)x(\d+)\b/),
maxWidth = $(window).width(), maxWidth = $(window).width(),
maxHeight = $(window).height(), maxHeight = $(window).height();
var scale = Math.min(1, maxWidth / size[1], maxHeight / size[2]); var scale = Math.min(1, maxWidth / size[1], maxHeight / size[2]);
hoverImage.css({ hoverImage.css({