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:
parent
2b72b53233
commit
49b8dc28b5
10 changed files with 22 additions and 15 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue