diff --git a/src/game/license_timer/loading.js b/src/game/license_timer/loading.js index a03d7cc..98b007f 100644 --- a/src/game/license_timer/loading.js +++ b/src/game/license_timer/loading.js @@ -80,6 +80,7 @@ var Loading = { // return; // } - this.state.start('Login'); + // this.state.start('Login'); + this.state.start('LicenseTimer'); }, } diff --git a/src/web/client/license_timer.html b/src/web/client/license_timer.html index 9642029..83a350c 100644 --- a/src/web/client/license_timer.html +++ b/src/web/client/license_timer.html @@ -82,9 +82,7 @@ var timeOutEventID; function ShowNotifyTimeOver(timeLeft) { - var isNotificationIsSupported = !!(window.Notification /* W3C Specification */ || win.webkitNotifications /* old WebKit Browsers */ || navigator.mozNotification /* Firefox for Android and Firefox OS */) - - if(isNotificationIsSupported) { + if("Notification" in window) { if(Notification) { // prepared browser for using Notification if(Notification.permission === "granted") { AddNotifyEventByNotification(timeLeft);