1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

simplify ternary expression

Co-Authored-By: dkanada <dkanada@users.noreply.github.com>
This commit is contained in:
Vasily 2019-01-11 23:12:11 +09:00 committed by GitHub
parent 3eb533d4bb
commit dd3d5ef9dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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() {