fhemweb.js: iOS fix (Forum #31964)

git-svn-id: https://svn.fhem.de/fhem/trunk@7573 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2015-01-14 22:24:38 +00:00
parent 1ab8bfee43
commit f8d5e7bd88

View File

@@ -908,7 +908,8 @@ loadScript(sname, callback, force)
} else {
if(FW_isiOS) {
FW_leaving = 1;
FW_pollConn.abort();
if(FW_pollConn)
FW_pollConn.abort();
}
script.onload = function(){
scriptLoaded();