diff --git a/src/js/core/_core.js b/src/js/core/_core.js index 72636d0..f605a91 100644 --- a/src/js/core/_core.js +++ b/src/js/core/_core.js @@ -181,7 +181,7 @@ module.exports = { } } - if (typeof args.beforeArticleLoad == "function") args.beforeArticleLoad(a); + if (typeof args.beforeArticleLoad == "function") args.beforeArticleLoad(); document.querySelectorAll("article").forEach((a) => { if ( a.getAttribute("data-template") != "none" ) { @@ -270,6 +270,6 @@ module.exports = { } }) - if (typeof args.afterArticleLoad == "function") args.afterArticleLoad(a); + if (typeof args.afterArticleLoad == "function") args.afterArticleLoad(); } }; \ No newline at end of file