summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZixaphir <zixaphirmoxphar@gmail.com>2015-03-18 20:50:41 -0700
committerczaks <marcin@6irc.net>2016-05-05 13:43:32 +0200
commit633c223282c568f187158c942de5817f49282c50 (patch)
treef33935b617903c0a680d55b67521966ae152da07
parentcad8019068cf94a1e28e8ebfcc50af56914703b8 (diff)
Fix trailing comma
-rw-r--r--js/image-hover.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/image-hover.js b/js/image-hover.js
index 3e4ec0c4..66e908d7 100644
--- a/js/image-hover.js
+++ b/js/image-hover.js
@@ -144,7 +144,7 @@ function imageHoverStart(e) { //Pashe, anonish, WTFPL
if (getSetting("imageHoverFollowCursor")) {
var size = $this.parents('.file').find('.unimportant').text().match(/\b(\d+)x(\d+)\b/),
maxWidth = $(window).width(),
- maxHeight = $(window).height(),
+ maxHeight = $(window).height();
var scale = Math.min(1, maxWidth / size[1], maxHeight / size[2]);
hoverImage.css({