From f26d934375251b678f9475ee9486d8fb7cdf35ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=A2=E1=84=91=E1=85=B3=E1=86=AF=20=E1=84=82?= =?UTF-8?q?=E1=85=A9=E1=84=90=E1=85=B3=E1=84=87=E1=85=AE=E1=86=A8?= Date: Sun, 16 Dec 2018 01:21:05 +0900 Subject: [PATCH] Fix: set focus to maestro in Login --- src/game/login/login.js | 2 +- src/web/module/home_section.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/login/login.js b/src/game/login/login.js index 24afd0e..4eb37c1 100644 --- a/src/game/login/login.js +++ b/src/game/login/login.js @@ -47,7 +47,7 @@ var Login = { } } - if(sessionStorageManager.getMaestroID() === null) + if(sessionStorageManager.getMaestroID() === null || sessionStorageManager.getMaestroID() === -1) this.inputTextMaestroName.canvasInput.focus(); else this.inputTextName.canvasInput.focus(); diff --git a/src/web/module/home_section.html b/src/web/module/home_section.html index d87bb56..3656af6 100644 --- a/src/web/module/home_section.html +++ b/src/web/module/home_section.html @@ -4,7 +4,7 @@ $(document).ready(function() { showErrorMessage( "(12월 16일) 새소식
\ \ -  [ 자격증 타이머 ] 앱 추가 - 화면 하단의 [ 보너스, 추가 컨텐츠 ] 에 앱이 추가되었습니다.", "success" +  [ 자격증 타이머 ] 앱 추가 - 화면 하단의 [ 보너스, 추가 컨텐츠 ] 에 새로운 앱이 추가되었습니다.", "success" ); });