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

Finish web UI

This commit is contained in:
Matt Montgomery 2020-04-12 00:44:30 -05:00
parent b43adb7406
commit fa9e2b476b
12 changed files with 248 additions and 9 deletions

View file

@ -377,7 +377,10 @@ define(["events", "appStorage"], function(events, appStorage) {
instance.onAuthenticated ? instance.onAuthenticated(instance, result).then(afterOnAuthenticated) : afterOnAuthenticated()
}, reject)
})
}, ApiClient.prototype.ensureWebSocket = function() {
}, ApiClient.prototype.getQuickConnect = function(verb) {
var url = this.getUrl("/QuickConnect/" + verb);
return this.getJSON(url);
}, ApiClient.prototype.ensureWebSocket = function() {
if (!this.isWebSocketOpenOrConnecting() && this.isWebSocketSupported()) try {
this.openWebSocket()
} catch (err) {