2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 04:36:36 +00:00

fhemweb.js: change fix for double delete, as caused different problems (Forum #49104, 49093)

git-svn-id: https://svn.fhem.de/fhem/trunk@10788 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-02-10 17:36:11 +00:00
parent bbc9690d1c
commit 18626636ee

View File

@ -386,9 +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) {
e.preventDefault();
// Open link in window/tab, Forum #39154
if(e.shiftKey || e.ctrlKey || e.metaKey || e.button == 1)
return;