From b1b91992581b769fba5dae51aa5fb17b155516ba Mon Sep 17 00:00:00 2001 From: plegall Date: Thu, 17 Dec 2015 14:06:04 +0100 Subject: feature #379, multiple format, hide url on download link --- themes/default/template/picture.tpl | 2 ++ 1 file changed, 2 insertions(+) (limited to 'themes/default/template') diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl index 331de8384..c576748fb 100644 --- a/themes/default/template/picture.tpl +++ b/themes/default/template/picture.tpl @@ -72,6 +72,8 @@ function changeImgSrc(url,typeSave,typeMap) {if !empty($current.formats)} {footer_script require='jquery'}{literal} jQuery().ready(function() { + jQuery("#downloadSwitchLink").removeAttr("href"); + jQuery("#downloadSwitchLink").click(function() { var elt = jQuery("#downloadSwitchBox"); -- cgit v1.2.3