Merge pull request #184 from bencroker/patch-19

Removed redundant parameter
This commit is contained in:
1cg 2020-09-03 08:09:06 -07:00 committed by GitHub
commit 9ffbed804b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -454,7 +454,7 @@ return (function () {
function makeAjaxLoadTask(child) {
return function () {
processNode(child, true);
processNode(child);
processScripts(child);
triggerEvent(child, 'htmx:load', {});
};
@ -1765,7 +1765,7 @@ return (function () {
mergeMetaConfig();
insertIndicatorStyles();
var body = getDocument().body;
processNode(body, true);
processNode(body);
triggerEvent(body, 'htmx:load', {});
window.onpopstate = function (event) {
if (event.state && event.state.htmx) {