From 11533f349def61e8cf94a6ff634109d0350a3880 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Wed, 1 Mar 2017 06:10:53 +0000 Subject: [PATCH] fhemweb.js: fix iOS+websocket combo (Forum #68185) git-svn-id: https://svn.fhem.de/fhem/trunk@13554 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/www/pgm2/fhemweb.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/fhem/www/pgm2/fhemweb.js b/fhem/www/pgm2/fhemweb.js index 97ed498e7..07dfa1649 100644 --- a/fhem/www/pgm2/fhemweb.js +++ b/fhem/www/pgm2/fhemweb.js @@ -1482,11 +1482,8 @@ loadScript(sname, callback, force) } } else { - if(FW_isiOS) { - FW_leaving = 1; - if(FW_pollConn) - FW_pollConn.abort(); - } + if(FW_isiOS) + FW_closeConn(); script.onload = function(){ scriptLoaded(); }