mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +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,
|
||||
verb:verb,
|
||||
errors:errors,
|
||||
withCredentials: requestAttrValues.credentials || htmx.config.withCredentials,
|
||||
timeout: requestAttrValues.timeout || htmx.config.timeout,
|
||||
withCredentials: etc.credentials || requestAttrValues.credentials || htmx.config.withCredentials,
|
||||
timeout: etc.timeout || requestAttrValues.timeout || htmx.config.timeout,
|
||||
path:path,
|
||||
triggeringEvent:event
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user