Fix duplicate ImageHover event handler.

The thumbnail is replaced before the event hander is added.
This commit is contained in:
ccd0 2014-10-10 23:06:20 -07:00
parent 90281b5905
commit a55643ef7b

View File

@ -51,7 +51,6 @@ ImageLoader =
video.dataset.md5 = thumb.dataset.md5
video.style[attr] = thumb.style[attr] for attr in ['height', 'width', 'maxHeight', 'maxWidth']
video.src = file.URL
$.on video, 'mouseover', ImageHover.mouseover post if Conf['Image Hover']
$.replace thumb, video
file.thumb = video
file.videoThumb = true