mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
Merge pull request #184 from bencroker/patch-19
Removed redundant parameter
This commit is contained in:
commit
9ffbed804b
@ -454,7 +454,7 @@ return (function () {
|
|||||||
|
|
||||||
function makeAjaxLoadTask(child) {
|
function makeAjaxLoadTask(child) {
|
||||||
return function () {
|
return function () {
|
||||||
processNode(child, true);
|
processNode(child);
|
||||||
processScripts(child);
|
processScripts(child);
|
||||||
triggerEvent(child, 'htmx:load', {});
|
triggerEvent(child, 'htmx:load', {});
|
||||||
};
|
};
|
||||||
@ -1765,7 +1765,7 @@ return (function () {
|
|||||||
mergeMetaConfig();
|
mergeMetaConfig();
|
||||||
insertIndicatorStyles();
|
insertIndicatorStyles();
|
||||||
var body = getDocument().body;
|
var body = getDocument().body;
|
||||||
processNode(body, true);
|
processNode(body);
|
||||||
triggerEvent(body, 'htmx:load', {});
|
triggerEvent(body, 'htmx:load', {});
|
||||||
window.onpopstate = function (event) {
|
window.onpopstate = function (event) {
|
||||||
if (event.state && event.state.htmx) {
|
if (event.state && event.state.htmx) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user