mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-09-30 22:41:23 +00:00
Use internal parseJSON function
This commit is contained in:
parent
72d0ab850b
commit
2301b827f2
@ -1752,7 +1752,7 @@ return (function () {
|
||||
|
||||
function getHXValsForElement(elt, expressionVars) {
|
||||
return getValuesForElement(elt, "hx-vals", function(valueStr){
|
||||
return JSON.parse(valueStr);
|
||||
return parseJSON(valueStr);
|
||||
}, expressionVars);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user