Bilibili-Evolved/utils/expand-danmaku.js
2018-08-10 22:14:59 +08:00

21 lines
451 B
JavaScript

(() =>
{
return () =>
{
SpinQuery.any(
() => $(".bui-collapse-header"),
button =>
{
if (parseInt($(".bui-collapse-body").css("height")) === 0 &&
$(".bui-collapse-arrow-text").text() === "展开")
{
button.click();
}
}
);
return {
ajaxReload: true
};
};
})();