QModem/luci-app-modem/luasrc/view/modem/hide_manual_config_modem.htm
fujr 260548fcb2 feat:优化拨号逻辑
当前逻辑:开机触发modem_scan scan到modem则开始拨号
2024-05-13 21:23:45 +08:00

20 lines
434 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<script type="text/javascript">//<![CDATA[
window.onload=function()
{
// 获取高级设置标签元素
var str="manual"
var manual_element = document.querySelector('div[data-tab="'+str+'"]');
// 适配老版lucilede
if (manual_element==null) {
manual_element = document.querySelectorAll('div[id*="'+str+'"]')[0];
}
//隐藏拨号配置ID元素
manual_element.style.display="none";
}
//]]>
</script>