diff --git a/TC1/http_server/web/index.html b/TC1/http_server/web/index.html index f0cfc72..b28d20f 100644 --- a/TC1/http_server/web/index.html +++ b/TC1/http_server/web/index.html @@ -899,12 +899,6 @@ for (var i = 0; i < actions.length; i++) { `; } 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.querySelectorAll('.mdl-menu').forEach(menu => { - if (menu.parentElement !== document.body) { - document.body.appendChild(menu); - } -}); window.setTimeout(GetPowerRecord, 3000); }, power_idx.toString());