lowercase verb to match up w/ htmx internals

fixes https://github.com/bigskysoftware/htmx/issues/565
This commit is contained in:
carson 2021-09-06 09:06:23 -06:00
parent 1b44728f49
commit f4ff7ac949

View File

@ -2130,6 +2130,7 @@ return (function () {
}
function ajaxHelper(verb, path, context) {
verb = verb.toLowerCase();
if (context) {
if (context instanceof Element || isType(context, 'String')) {
return issueAjaxRequest(verb, path, null, null, {