mirror of
https://github.com/mue/mue.git
synced 2026-06-12 11:38:53 +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);
|
||||
}
|
||||
|
||||
@@ -58,7 +58,7 @@ export default class Stats {
|
||||
payload: {
|
||||
website: this.id,
|
||||
url: '/',
|
||||
language: localStorage.getItem('language').replace('_', '-'),
|
||||
language: window.languagecode.replace('_', '-'),
|
||||
screen: `${window.screen.width}x${window.screen.height}`
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user