From 78b2bddab0ec58ee749ae947cbf43cfcd2ec856e Mon Sep 17 00:00:00 2001 From: carson Date: Mon, 17 May 2021 11:22:25 -0600 Subject: [PATCH] typo --- src/htmx.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/htmx.js b/src/htmx.js index 7c6293bc..5dadbd3a 100644 --- a/src/htmx.js +++ b/src/htmx.js @@ -930,7 +930,7 @@ return (function () { } else { var rawAttribute = getRawAttribute(elt, "method"); verb = rawAttribute ? rawAttribute.toLowerCase() : "get"; - if (verb === true) { + if (verb === "get") { nodeData.pushURL = true; } path = getRawAttribute(elt, 'action');