Minor fix

This commit is contained in:
2024-03-09 12:13:46 +08:00
parent 31b90bc4e8
commit 8d2a025dc6

View File

@@ -1,7 +1,7 @@
// ==UserScript== // ==UserScript==
// @name EH Gallery Script // @name EH Gallery Script
// @namespace https://github.com/lifegpc/userscript // @namespace https://github.com/lifegpc/userscript
// @version 0.1.5 // @version 0.1.6
// @description :( // @description :(
// @author lifegpc // @author lifegpc
// @match https://*.e-hentai.org/g/*/* // @match https://*.e-hentai.org/g/*/*
@@ -604,6 +604,6 @@ async function handle_tags() {
} }
} }
window.addEventListener('DOMContentLoaded', async () => { window.addEventListener('DOMContentLoaded', async () => {
handle_doc(); await handle_doc();
observer.observe(document.body, { childList: true, subtree: true }); observer.observe(document.body, { childList: true, subtree: true });
}) })