mirror of
https://github.com/tuna/mirror-web.git
synced 2025-12-25 20:32:46 +00:00
Fixed ??
This commit is contained in:
parent
9a7926f721
commit
88e6446e6e
|
|
@ -187,9 +187,9 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
});
|
||||
|
||||
// Recover stored settings
|
||||
setData('variance', parseInt(window.localStorage.getItem('tomato-variance')) || 100);
|
||||
setData('gravity', parseInt(window.localStorage.getItem('tomato-gravity')) || 400);
|
||||
setData('init-vy', parseInt(window.localStorage.getItem('tomato-init-vy')) || -100);
|
||||
setData('variance', parseInt(window.localStorage.getItem('tomato-variance')) ?? 100);
|
||||
setData('gravity', parseInt(window.localStorage.getItem('tomato-gravity')) ?? 400);
|
||||
setData('init-vy', parseInt(window.localStorage.getItem('tomato-init-vy')) ?? -100);
|
||||
if(window.localStorage.getItem('tomato-hint') === 'true') {
|
||||
const ctrl = document.getElementsByClassName('field-ctrl')[0];
|
||||
ctrl.classList.remove('tucked');
|
||||
|
|
|
|||
Loading…
Reference in New Issue