fix no-self-assign
parent
7ed5f2e458
commit
c671e5e380
|
@ -33,7 +33,6 @@
|
|||
"no-useless-escape": "off",
|
||||
"no-empty": "off",
|
||||
"@typescript-eslint/no-empty-function": "off",
|
||||
"no-self-assign": "off",
|
||||
"no-constant-condition": "off",
|
||||
"no-async-promise-executor": "off"
|
||||
}
|
||||
|
|
|
@ -30,5 +30,5 @@ export const reload = () => {
|
|||
unload.expected = true;
|
||||
lichess.socket.disconnect();
|
||||
if (location.hash) location.reload();
|
||||
else location.href = location.href;
|
||||
else location.assign(location.href);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue