mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-05 16:54:47 +00:00
rename config variable to match function name
This commit is contained in:
parent
d90d7160c8
commit
b51ed1755d
@ -41,7 +41,7 @@ return (function () {
|
|||||||
requestClass:'htmx-request',
|
requestClass:'htmx-request',
|
||||||
settlingClass:'htmx-settling',
|
settlingClass:'htmx-settling',
|
||||||
swappingClass:'htmx-swapping',
|
swappingClass:'htmx-swapping',
|
||||||
attributesToSwizzle:["class", "style", "width", "height"]
|
attributesToSettle:["class", "style", "width", "height"]
|
||||||
},
|
},
|
||||||
parseInterval:parseInterval,
|
parseInterval:parseInterval,
|
||||||
_:internalEval,
|
_:internalEval,
|
||||||
@ -381,9 +381,9 @@ return (function () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function shouldSettleAttribute(name) {
|
function shouldSettleAttribute(name) {
|
||||||
var attributesToSwizzle = htmx.config.attributesToSwizzle;
|
var attributesToSettle = htmx.config.attributesToSettle;
|
||||||
for (var i = 0; i < attributesToSwizzle.length; i++) {
|
for (var i = 0; i < attributesToSettle.length; i++) {
|
||||||
if (name === attributesToSwizzle[i]) {
|
if (name === attributesToSettle[i]) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user