2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-07 16:59:18 +00:00

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 192fcdd651
commit 341af63d9d

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)