X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fstore.js;h=13c600b77fcf9d619c4f5329ee76f269a2c4b494;hb=cee75a57d2f4f89c89d64cefbab55d839a238ed9;hp=45535f84ea7d341659a3b9625ae00bba3640457e;hpb=e50a802531b99829c533f22ecd21e359e7e1e049;p=vchess.git diff --git a/client/src/store.js b/client/src/store.js index 45535f84..13c600b7 100644 --- a/client/src/store.js +++ b/client/src/store.js @@ -90,11 +90,7 @@ export const store = { hints: getItemDefaultTrue("hints"), highlight: getItemDefaultTrue("highlight"), gotonext: getItemDefaultTrue("gotonext"), - randomness: parseInt(localStorage.getItem("randomness"), 10) }; - if (isNaN(this.state.settings.randomness)) - // Default: random asymmetric - this.state.settings.randomness = 2; const supportedLangs = ["en", "es", "fr"]; const navLanguage = navigator.language.substr(0, 2); this.state.lang =