mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-12 01:50:48 +01:00
Fix trailing comma
This commit is contained in:
parent
cad8019068
commit
633c223282
@ -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({
|
||||||
|
Loading…
Reference in New Issue
Block a user