lihao 1 vuosi sitten
vanhempi
commit
df8d7a08b3
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      static/screenIos/WXtrialInterface.html

+ 3 - 3
static/screenIos/WXtrialInterface.html

@@ -1198,10 +1198,10 @@
         sendHeartbeat()
       },5000)
       */
+      if(connectStatus==1) {
+        getResidueTime();
+      }
       webSocketWorker.onmessage = function (event) {
-        if(connectStatus==1) {
-          getResidueTime();
-        }
         var input = event.data;
         if (input[0] == 0xff && isAudioPlay) {
           decodeAAC(input);