From 2b2a77b5f55b1af37416718e4aaa2f17d83faffa Mon Sep 17 00:00:00 2001 From: nhkefus Date: Thu, 20 Mar 2025 14:19:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BD=91=E9=A1=B5=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E9=85=8D=E7=BD=AE=E5=8A=9F=E8=83=BDUI=E9=94=99?= =?UTF-8?q?=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TC1/http_server/web/index.html | 11 ----------- 1 file changed, 11 deletions(-) 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());