Browse Source

push fixes

main
Marco Colia 2 years ago
parent
commit
31e88900e9
  1. 2
      js/dist/forum.js
  2. 2
      js/dist/forum.js.map
  3. 5
      js/src/forum/index.js

2
js/dist/forum.js vendored

File diff suppressed because one or more lines are too long

2
js/dist/forum.js.map vendored

File diff suppressed because one or more lines are too long

5
js/src/forum/index.js

@ -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 />);

Loading…
Cancel
Save