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:
parent
cee77dceb5
commit
813bfb4c9b
@ -394,6 +394,7 @@ FW_replaceLink(el)
|
||||
if($(el).attr("target") == "_blank") {
|
||||
window.open(url, '_blank').focus();
|
||||
} else {
|
||||
$(el).attr(href,'');
|
||||
location.href = attr;
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user