mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
Use internal parseJSON function
This commit is contained in:
parent
6208b58aba
commit
72d0ab850b
2
dist/htmx.js
vendored
2
dist/htmx.js
vendored
@ -1752,7 +1752,7 @@ return (function () {
|
||||
|
||||
function getHXValsForElement(elt, expressionVars) {
|
||||
return getValuesForElement(elt, "hx-vals", function(valueStr){
|
||||
return JSON.parse(expressionVars);
|
||||
return parseJSON(expressionVars);
|
||||
}, expressionVars);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user