Skip to content

Commit

Permalink
继续修正切换视频时的加载bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Izumiko committed May 19, 2024
1 parent 178ad55 commit 4c839a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ede.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// @description Jellyfin弹幕插件
// @namespace https://github.com/RyoLee
// @author RyoLee
// @version 1.38
// @version 1.39
// @copyright 2022, RyoLee (https://github.com/RyoLee)
// @license MIT; https://raw.githubusercontent.com/Izumiko/jellyfin-danmaku/jellyfin/LICENSE
// @icon https://github.githubassets.com/pinned-octocat.svg
Expand Down Expand Up @@ -1000,8 +1000,8 @@
console.log('[Jellyfin-Danmaku] Video Removed');
window.ede.loading = false;
document.getElementById('danmakuInfoTitle')?.remove();
window.ede.danmaku?.destroy();
document.getElementById('danmakuWrapper')?.remove();
const wrapper = document.getElementById('danmakuWrapper');
if (wrapper) wrapper.style.display = 'none';
return;
}
}
Expand Down

0 comments on commit 4c839a3

Please sign in to comment.