fhemweb.js: Fix double delete for Firefox (Forum #44478)

git-svn-id: https://svn.fhem.de/fhem/trunk@10784 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2016-02-09 21:21:29 +00:00
parent 97cbf884a8
commit f3c95f1bb2

View File

@@ -386,6 +386,8 @@ FW_replaceLink(el)
if(ma == null || ma.length == 0 || !ma[2].match(/=(save|set)/)) {
ma = attr.match(new RegExp("^"+FW_root)); // Avoid "Connection lost" @iOS
if(ma) {
$(el).removeAttr("href");
$(el).css("cursor", "pointer");
$(el).click(function(e) {
// Open link in window/tab, Forum #39154
if(e.shiftKey || e.ctrlKey || e.metaKey || e.button == 1)