summaryrefslogtreecommitdiffstatshomepage
path: root/src/htmx.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/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) {