MCPcopy
hub / github.com/ChinaGodMan/UserScripts / closeModal

Function closeModal

missav-explorer/missav-explorer.user.js:1126–1132  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1124
1125 // 关闭模态窗口
1126 function closeModal() {
1127 // 如果模态窗口存在,则从 DOM 中移除
1128 if (modalContainer) {
1129 document.body.removeChild(modalContainer)
1130 modalContainer = null // 将变量重置为 null,以便下次创建新的模态窗口
1131 }
1132 }
1133
1134 // 创建JSONindex
1135

Callers 3

checkIfCompleteFunction · 0.70
downloadAllZipsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected