mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-03 07:45:21 +00:00
support passing in timeout & credentials via etc
This commit is contained in:
parent
a4a9d2d733
commit
ba33b5b381
@ -2237,8 +2237,8 @@ return (function () {
|
|||||||
target:target,
|
target:target,
|
||||||
verb:verb,
|
verb:verb,
|
||||||
errors:errors,
|
errors:errors,
|
||||||
withCredentials: requestAttrValues.credentials || htmx.config.withCredentials,
|
withCredentials: etc.credentials || requestAttrValues.credentials || htmx.config.withCredentials,
|
||||||
timeout: requestAttrValues.timeout || htmx.config.timeout,
|
timeout: etc.timeout || requestAttrValues.timeout || htmx.config.timeout,
|
||||||
path:path,
|
path:path,
|
||||||
triggeringEvent:event
|
triggeringEvent:event
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user