diff --git a/src/htmx.js b/src/htmx.js index 4fda7e55f..ede137a0a 100644 --- a/src/htmx.js +++ b/src/htmx.js @@ -3844,7 +3844,7 @@ var htmx = (function() { verb = (/** @type HttpVerb */(verb.toLowerCase())) if (context) { if (context instanceof Element || typeof context === 'string') { - return issueAjaxRequest(verb, path, null, null, { + return issueAjaxRequest(verb, path, resolveTarget(context), null, { targetOverride: resolveTarget(context), returnPromise: true })