Fix: test code

This commit is contained in:
jisangs committed 2018-12-11 11:02:08 +09:00
1 parent 8ab8437d25
commit 9008ae054b
2 files changed
+3 -4

No files matched your search

+2 -1
View File
@@ -80,6 +80,7 @@ var Loading = {
// return;
// }
this.state.start('Login');
// this.state.start('Login');
this.state.start('LicenseTimer');
},
}
+1 -3
View File
@@ -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);