diff --git a/fhem/www/pgm2/fhemweb.js b/fhem/www/pgm2/fhemweb.js index f7f9f3b3a..217f8c114 100644 --- a/fhem/www/pgm2/fhemweb.js +++ b/fhem/www/pgm2/fhemweb.js @@ -366,7 +366,8 @@ FW_replaceLink(el) ma = attr.match(new RegExp("^"+FW_root)); // Avoid "Connection lost" @iOS if(ma) { $(el).click(function(e) { - if(e.shiftKey || e.ctrlKey || e.metaKey) // Open link in window/tab + // Open link in window/tab, Forum #39154 + if(e.shiftKey || e.ctrlKey || e.metaKey || e.button == 1) return; FW_leaving = 1; if($(el).attr("target") == "_blank") {