mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -07:00
manual minifying
This commit is contained in:
parent
df720d2d14
commit
1e3b03dde1
@ -180,7 +180,7 @@ define(["events", "apiclient", "appStorage"], function (events, apiClientFactory
|
||||
return 0;
|
||||
}
|
||||
|
||||
var defaultTimeout = 2e4;
|
||||
var defaultTimeout = 20000;
|
||||
var ConnectionMode = {
|
||||
Local: 0,
|
||||
Remote: 1,
|
||||
@ -236,9 +236,10 @@ define(["events", "apiclient", "appStorage"], function (events, apiClientFactory
|
||||
function onLocalUserSignIn(server, serverUrl, user) {
|
||||
self._getOrAddApiClient(server, serverUrl);
|
||||
|
||||
return (self.onLocalUserSignedIn ? self.onLocalUserSignedIn.call(self, user) : Promise.resolve()).then(function () {
|
||||
events.trigger(self, "localusersignedin", [user]);
|
||||
});
|
||||
var promise = self.onLocalUserSignedIn ? self.onLocalUserSignedIn.call(self, user) : Promise.resolve();
|
||||
return promise.then(function () {
|
||||
events.trigger(self, "localusersignedin", [user])
|
||||
})
|
||||
}
|
||||
|
||||
function ensureConnectUser(credentials) {
|
||||
|
Loading…
Reference in New Issue
Block a user