1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-09-23 19:18:21 +02:00

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")) {
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({