aboutsummaryrefslogtreecommitdiffstats
path: root/themes/default
diff options
context:
space:
mode:
authorZaphod <zaphod@piwigo.org>2012-03-04 18:57:46 +0000
committerZaphod <zaphod@piwigo.org>2012-03-04 18:57:46 +0000
commit27e26d5080edc9e15f0b30c0cdcb08bb7c52b1d5 (patch)
tree0606234e0ceee46de8fa5ab8a394f00cefef284d /themes/default
parentee4e6c1dc2e03895e60317f341e1bb8c45243d0a (diff)
feature 2588: bugfix on picture.tpl (derivative switchlink)
git-svn-id: http://piwigo.org/svn/trunk@13478 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--themes/default/template/picture.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/template/picture.tpl b/themes/default/template/picture.tpl
index 2852b8eaf..bad2fd60b 100644
--- a/themes/default/template/picture.tpl
+++ b/themes/default/template/picture.tpl
@@ -28,7 +28,7 @@ function changeImgSrc(url,typeSave,typeMap,typeDisplay)
theImg.removeAttribute("width");theImg.removeAttribute("height");
theImg.src = url;
var elt = document.getElementById("derivativeSwitchLink");
- if (elt) elt.innerHTML = typeDisplay;
+ /* if (elt) elt.innerHTML = typeDisplay; */
theImg.useMap = "#map"+typeMap;
}
document.cookie = 'picture_deriv='+typeSave+';path={/literal}{$COOKIE_PATH}{literal}';