mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 07:21:05 +00:00
remove last non-test eval
This commit is contained in:
parent
d464b91d1e
commit
234ba981d9
@ -1165,7 +1165,7 @@ return (function () {
|
||||
function evalScript(script) {
|
||||
if (script.type === "text/javascript" || script.type === "") {
|
||||
try {
|
||||
eval(script.innerText);
|
||||
Function(script.innerText)();
|
||||
} catch (e) {
|
||||
logError(e);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user