From eee835fec795b8ea9e7dd0b5723979beeb91af5e Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sat, 26 Jul 2014 23:19:42 -0700 Subject: [PATCH] fix link deactivation; should not have been made conditional --- src/Images/ImageExpand.coffee | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Images/ImageExpand.coffee b/src/Images/ImageExpand.coffee index 6a8114eb5..4216c6e45 100755 --- a/src/Images/ImageExpand.coffee +++ b/src/Images/ImageExpand.coffee @@ -160,15 +160,15 @@ ImageExpand = file.isExpanded = true if file.isVideo + # add contract link to file info if Conf['Show Controls'] - # disable link to file so native controls can work - file.thumb.parentNode.removeAttribute 'href' - file.thumb.parentNode.removeAttribute 'target' - - # setup controls in file info file.videoControls = ImageExpand.videoControls.cloneNode true $.add file.text, file.videoControls + # disable link to file so native controls can work + file.thumb.parentNode.removeAttribute 'href' + file.thumb.parentNode.removeAttribute 'target' + video = file.fullImage video.loop = true ImageExpand.setupVideoCB post