未验证 提交 4333ecc4 编写于 作者: A AUTOMATIC1111 提交者: GitHub

Merge pull request #14939 from AUTOMATIC1111/Fix-extranetworks-search-reload

Fix the bugs that search/reload will disappear when using other ExtraNetworks extensions
......@@ -625,7 +625,7 @@ function scheduleAfterScriptsCallbacks() {
document.addEventListener("DOMContentLoaded", function() {
var mutationObserver = new MutationObserver(function(m) {
if (!executedAfterScripts &&
gradioApp().querySelectorAll("[id$='_extra_search']").length == 8) {
gradioApp().querySelectorAll("[id$='_extra_search']").length >= 6) {
executedAfterScripts = true;
scheduleAfterScriptsCallbacks();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册