2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

fhemweb.js: fix double execution of href links (Forum #44478)

git-svn-id: https://svn.fhem.de/fhem/trunk@9969 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-11-22 13:33:04 +00:00
parent cee77dceb5
commit 813bfb4c9b

View File

@ -394,6 +394,7 @@ FW_replaceLink(el)
if($(el).attr("target") == "_blank") {
window.open(url, '_blank').focus();
} else {
$(el).attr(href,'');
location.href = attr;
}
});