mirror of
https://github.com/mue/mue.git
synced 2026-07-12 02:42:07 +02:00
chore: release 5.3.1
This commit is contained in:
@@ -91,8 +91,8 @@ export function loadSettings(hotreload) {
|
||||
const js = localStorage.getItem('customjs');
|
||||
if (js) {
|
||||
try {
|
||||
// eslint-disable-next-line no-new-func
|
||||
Function(`'use strict'; return (${js})`)();
|
||||
// eslint-disable-next-line no-eval
|
||||
eval(js);
|
||||
} catch (e) {
|
||||
console.error('Failed to run custom JS: ', e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user