2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-23 20:52:13 +00:00

fhemweb.js: fix jsLog checking. (Forum #116994)

git-svn-id: https://svn.fhem.de/fhem/trunk@23409 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2020-12-23 11:08:10 +00:00
parent 0042f03141
commit 4a77e7911a

View File

@ -516,7 +516,7 @@ log(txt)
if(typeof window.console != "undefined")
console.log(lTxt);
if(FW_jsLog && FW_longpollType == "websocket") {
if(FW_jsLog==1 && FW_longpollType == "websocket") {
FW_logStack.push(txt);
if(FW_pollConn && FW_pollConn.readyState == FW_pollConn.OPEN) {
while(FW_logStack.length) {