aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--themes/default/template/picture.tpl2
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");