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:
parent
bbc9690d1c
commit
18626636ee
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user