Skip to content

Commit

Permalink
feature 2588: bugfix on picture.tpl (derivative switchlink)
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@13478 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
Zaphod committed Mar 4, 2012
1 parent ee4e6c1 commit 27e26d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/default/template/picture.tpl
Expand Up @@ -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}';
Expand Down

0 comments on commit 27e26d5

Please sign in to comment.