mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Fix bugs
This commit is contained in:
parent
ff9b1d3697
commit
a05476f7aa
2
min/expand-danmaku.min.js
vendored
2
min/expand-danmaku.min.js
vendored
@ -1 +1 @@
|
||||
(()=>{return(e,a)=>{if(typeof isEmbeddedPlayer!=="undefined"&&isEmbeddedPlayer()){return}Observer.videoChange(async()=>{const e=await SpinQuery.select(".bui-collapse-wrap");if(e.classList.contains("bui-collapse-wrap-folded")){const e=await SpinQuery.select(".bui-collapse-header");e.click()}})}})();
|
||||
(()=>{return(e,a)=>{if(typeof isEmbeddedPlayer!=="undefined"&&isEmbeddedPlayer()){return}Observer.videoChange(async()=>{const e=await SpinQuery.select(".bui-collapse-wrap");if(e&&e.classList.contains("bui-collapse-wrap-folded")){const e=await SpinQuery.select(".bui-collapse-header");e.click()}})}})();
|
||||
@ -5,7 +5,7 @@ if (typeof isEmbeddedPlayer !== "undefined" && isEmbeddedPlayer())
|
||||
Observer.videoChange(async () =>
|
||||
{
|
||||
const danmakuBox = await SpinQuery.select(".bui-collapse-wrap");
|
||||
if (danmakuBox.classList.contains("bui-collapse-wrap-folded"))
|
||||
if (danmakuBox && danmakuBox.classList.contains("bui-collapse-wrap-folded"))
|
||||
{
|
||||
const button = await SpinQuery.select(".bui-collapse-header");
|
||||
button.click();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user