From dd3d5ef9dcd00e47ee4da5e218d3a61d43eb44ec Mon Sep 17 00:00:00 2001 From: Vasily Date: Fri, 11 Jan 2019 23:12:11 +0900 Subject: [PATCH] simplify ternary expression Co-Authored-By: dkanada --- src/scripts/site.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/site.js b/src/scripts/site.js index a438bc3ca1..070bcb43c5 100644 --- a/src/scripts/site.js +++ b/src/scripts/site.js @@ -1040,7 +1040,7 @@ var Dashboard = { }, appRouter.showSelectServer = function() { AppInfo.isNativeApp ? Dashboard.navigate("selectserver.html") : Dashboard.navigate("login.html") }, appRouter.showWelcome = function() { - AppInfo.isNativeApp ? Dashboard.navigate("selectserver.html") : Dashboard.navigate("login.html") + Dashboard.navigate(AppInfo.isNativeApp ? "selectserver.html" : "login.html") }, appRouter.showSettings = function() { Dashboard.navigate("mypreferencesmenu.html") }, appRouter.showGuide = function() {