fix link deactivation; should not have been made conditional

This commit is contained in:
ccd0 2014-07-26 23:19:42 -07:00
parent b224d20896
commit eee835fec7

View File

@ -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