mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
revert test change
This commit is contained in:
parent
7d1dbeddec
commit
1d66f5e9a3
1 changed files with 1 additions and 3 deletions
|
@ -44,7 +44,6 @@ var Dashboard = {
|
|||
|
||||
isConnectMode: function () {
|
||||
|
||||
return true;
|
||||
if (Dashboard.isRunningInCordova()) {
|
||||
return true;
|
||||
}
|
||||
|
@ -57,7 +56,6 @@ var Dashboard = {
|
|||
|
||||
isRunningInCordova: function () {
|
||||
|
||||
return true;
|
||||
return window.appMode == 'cordova';
|
||||
},
|
||||
|
||||
|
@ -1309,7 +1307,7 @@ var Dashboard = {
|
|||
|
||||
isServerlessPage: function () {
|
||||
var url = getWindowUrl().toLowerCase();
|
||||
return url.indexOf('connectlogin.html') != -1 || url.indexOf('selectserver.html') != -1;
|
||||
return url.indexOf('connectlogin.html') != -1 || url.indexOf('selectserver.html') != -1 || url.indexOf('login.html') != -1 || url.indexOf('forgotpassword.html') != -1 || url.indexOf('forgotpasswordpin.html') != -1;
|
||||
},
|
||||
|
||||
capabilities: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue