Browse Source

revert timer fix

Maxim Sokhatsky 11 years ago
parent
commit
4426c0983c

+ 0 - 1
apps/web/priv/static/app/js/okey/okey.js

@@ -290,7 +290,6 @@ function initOkeyScene(x)
 
     e.detail.whos_move && "null" != e.detail.whos_move && 
         (e.detail.next_turn_in && "null" != e.detail.next_turn_in && 
-         e.detail.next_turn_in < 30 && // NOTE: this this fix for server old protocol
          playersMap[e.detail.whos_move].timer.from(e.detail.next_turn_in),
          e.detail.paused && (playersMap[e.detail.whos_move].timer.pause(),$overlay.show()),
          playersMap[e.detail.whos_move].select());

+ 1 - 0
apps/web/priv/static/app/js/selector.js

@@ -1,5 +1,6 @@
 var scope = {
     apiUrl: "ws://" + window.location.hostname + ":" + window.location.port + "/ws/",
+//    apiUrl: "ws://srv5.kakaranet.com:8080/ws/",
     gameId: 1000001,
     CARD_SOURCE: "svg/Card.svg",
     CARD_SMALL_SOURCE: "svg/Card-Small.svg",