diff options
author | plegall <plg@piwigo.org> | 2015-12-17 14:06:04 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2015-12-17 14:06:04 +0100 |
commit | b1b91992581b769fba5dae51aa5fb17b155516ba (patch) | |
tree | e8935f72232c1a1e8703c397fa625b2fd1502692 /themes/default | |
parent | f66c27b731e5b6ed4d8c58fd89cf2156ebeef75a (diff) |
feature #379, multiple format, hide url on download link
Diffstat (limited to '')
-rw-r--r-- | themes/default/template/picture.tpl | 2 |
1 files changed, 2 insertions, 0 deletions
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"); |