1
0
Fork 0
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:
MrTimscampi 2020-07-26 22:45:00 +02:00
parent 18a84eeb32
commit 8fb8dacdf1
15 changed files with 239 additions and 312 deletions

View file

@ -1,6 +1,8 @@
define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'require'], function (serverNotifications, playbackManager, events, globalize, require) {
'use strict';
serverNotifications = serverNotifications.default || serverNotifications;
function onOneDocumentClick() {
document.removeEventListener('click', onOneDocumentClick);
document.removeEventListener('keydown', onOneDocumentClick);