feature #379, multiple format, hide url on download link

This commit is contained in:
plegall
2015-12-17 14:06:04 +01:00
parent f66c27b731
commit b1b9199258
+2
View File
@@ -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");