mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Migrate shell, serverNotifications to ES6 + remove searchtab
This commit is contained in:
parent
18a84eeb32
commit
8fb8dacdf1
15 changed files with 239 additions and 312 deletions
|
@ -1,6 +1,8 @@
|
|||
define(['playbackManager', 'events', 'serverNotifications', 'connectionManager'], function (playbackManager, events, serverNotifications, connectionManager) {
|
||||
'use strict';
|
||||
|
||||
serverNotifications = serverNotifications.default || serverNotifications;
|
||||
|
||||
function getActivePlayerId() {
|
||||
var info = playbackManager.getPlayerInfo();
|
||||
return info ? info.id : null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue