mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-13 13:38:14 +08:00
修复网页按钮配置功能UI错误
This commit is contained in:
@@ -899,12 +899,6 @@ for (var i = 0; i < actions.length; i++) {
|
|||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
document.getElementById("short_click_events_tb").innerHTML = tb_html;
|
document.getElementById("short_click_events_tb").innerHTML = tb_html;
|
||||||
// 手动将所有 .mdl-menu 挪到 body 下
|
|
||||||
document.querySelectorAll('.mdl-menu').forEach(menu => {
|
|
||||||
if (menu.parentElement !== document.body) {
|
|
||||||
document.body.appendChild(menu);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -1254,11 +1248,6 @@ for (var i = 0; i < actions.length; i++) {
|
|||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
document.getElementById("short_click_events_tb").innerHTML = tb_html;
|
document.getElementById("short_click_events_tb").innerHTML = tb_html;
|
||||||
document.querySelectorAll('.mdl-menu').forEach(menu => {
|
|
||||||
if (menu.parentElement !== document.body) {
|
|
||||||
document.body.appendChild(menu);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
window.setTimeout(GetPowerRecord, 3000);
|
window.setTimeout(GetPowerRecord, 3000);
|
||||||
}, power_idx.toString());
|
}, power_idx.toString());
|
||||||
|
|||||||
Reference in New Issue
Block a user