chore: release 5.3.1

This commit is contained in:
David Ralph
2021-08-23 12:01:25 +01:00
parent 66ac192c09
commit 1d99622123
15 changed files with 17 additions and 17 deletions

View File

@@ -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);
}