push fixes

This commit is contained in:
Marco Colia 2022-06-16 16:18:56 +02:00
parent 2b62c5532d
commit 31e88900e9
3 changed files with 6 additions and 3 deletions

2
js/dist/forum.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -59,7 +59,7 @@ app.initializers.add('justoverclock/users-map-location', () => {
}).addTo(map2); }).addTo(map2);
setTimeout(() => { setTimeout(() => {
map2.invalidateSize() map2.invalidateSize()
},800) },1000)
}); });
}); });
@ -104,8 +104,11 @@ app.initializers.add('justoverclock/users-map-location', () => {
zoomOffset: -1, zoomOffset: -1,
accessToken: publicToken, accessToken: publicToken,
}).addTo(map); }).addTo(map);
setTimeout(() => {
map.invalidateSize() map.invalidateSize()
},1000)
}); });
m.redraw()
}); });
extend(SettingsPage.prototype, 'settingsItems', function (items) { extend(SettingsPage.prototype, 'settingsItems', function (items) {
items.add('location', <AddLocationComponent />); items.add('location', <AddLocationComponent />);