address Infinite Loop

change the default function "static" to "Static"
This commit is contained in:
buzz-lightsnack-2007 2024-04-15 22:29:05 +08:00
parent 5e0d4bb8e4
commit 5504c61039
2 changed files with 238 additions and 239 deletions

View file

@ -390,8 +390,8 @@ export default class windowman {
/* Enable the searching interface. */
async function search() {
const search_GUI_manager = (await import(chrome.runtime.getURL(`scripts/GUI/windowman.search.js`)));
return (search_GUI_manager.search());
const search_GUI_manager = (await import(chrome.runtime.getURL(`scripts/GUI/windowman.search.js`))).default;
return (search_GUI_manager.Search());
};
fill();