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

fix notification button

This commit is contained in:
Luke Pulverenti 2015-11-28 23:32:22 -05:00
parent 2b72b53233
commit 49b8dc28b5
10 changed files with 22 additions and 15 deletions

View file

@ -59,12 +59,13 @@
return MediaController.getCurrentPlayer();
}
Events.on(document, 'thememediadownload', function (e, themeMediaResult) {
document.addEventListener('thememediadownload', function (e) {
if (!enabled()) {
return;
}
var themeMediaResult = e.detail.themeMediaResult;
var ownerId = themeMediaResult.ThemeSongsResult.OwnerId;
if (ownerId != currentOwnerId) {