summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBen Croker <57572400+bencroker@users.noreply.github.com>2020-06-29 07:00:49 +0200
committerGitHub <noreply@github.com>2020-06-29 07:00:49 +0200
commit8ee306d178a42dcaf8f9b2b575f8eed2b73dd9fe (patch)
treec76099b2fb0c9d8ec339818af80143e560759654
parentc923a9f0af0a6847745bb1122c66e80cf10de892 (diff)
downloadhtmx-8ee306d178a42dcaf8f9b2b575f8eed2b73dd9fe.tar.gz
htmx-8ee306d178a42dcaf8f9b2b575f8eed2b73dd9fe.zip
Update htmx.js
-rw-r--r--src/htmx.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/htmx.js b/src/htmx.js
index 222aff37..20e6bd23 100644
--- a/src/htmx.js
+++ b/src/htmx.js
@@ -1130,7 +1130,7 @@ return (function () {
function getPushUrl(elt) {
var pushUrl = getClosestAttributeValue(elt, "hx-push-url");
- return (pushUrl === "true" || pushUrl === "false") ? "" : pushUrl;
+ return (pushUrl === "true" || pushUrl === "false") ? null : pushUrl;
}
function addRequestIndicatorClasses(elt) {