From 5bbc055073058dca64f3129dd1b3ad9818ef1e5a Mon Sep 17 00:00:00 2001 From: Ben Croker <57572400+bencroker@users.noreply.github.com> Date: Thu, 1 Oct 2020 17:39:14 +0200 Subject: [PATCH] Space, the final frontier --- src/htmx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/htmx.js b/src/htmx.js index 202eddd9..dd88a299 100644 --- a/src/htmx.js +++ b/src/htmx.js @@ -1721,7 +1721,7 @@ return (function () { } } - var eventDetail = {xhr: xhr, target: target, requestConfig:requestConfig}; + var eventDetail = {xhr: xhr, target: target, requestConfig: requestConfig}; xhr.onload = function () { try { if (!triggerEvent(elt, 'htmx:beforeOnLoad', eventDetail)) return;