mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Exit app on "go back" at server selection page
This commit is contained in:
parent
1ebf03d21b
commit
d93c16ea72
2 changed files with 3 additions and 2 deletions
|
@ -548,7 +548,7 @@ define(['loading', 'globalize', 'events', 'viewManager', 'layoutManager', 'skinM
|
||||||
/**
|
/**
|
||||||
* Pages of "no return" (Go back).
|
* Pages of "no return" (Go back).
|
||||||
*/
|
*/
|
||||||
var startPages = ['home', 'login'];
|
var startPages = ['home', 'login', 'selectserver'];
|
||||||
|
|
||||||
function canGoBack() {
|
function canGoBack() {
|
||||||
var curr = current();
|
var curr = current();
|
||||||
|
|
|
@ -313,7 +313,8 @@ define([
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
anonymous: true,
|
anonymous: true,
|
||||||
startup: true,
|
startup: true,
|
||||||
controller: "auth/selectserver"
|
controller: "auth/selectserver",
|
||||||
|
type: "selectserver"
|
||||||
});
|
});
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: "/serveractivity.html",
|
path: "/serveractivity.html",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue