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 9ffcb96baa
commit a890c9e62d

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;
}
});