Uncaught SecurityError now fixed in Leaflet.RestoreView

This commit is contained in:
Norbert Renner 2016-10-07 12:57:39 +02:00
parent d9862d6cd2
commit b8566dbd12

View file

@ -60,7 +60,7 @@ BR.Map = {
map = new L.Map('map', { map = new L.Map('map', {
worldCopyJump: true worldCopyJump: true
}); });
if (!BR.Util.localStorageAvailable() || !map.restoreView()) { if (!map.restoreView()) {
map.setView([50.99, 9.86], 6); map.setView([50.99, 9.86], 6);
} }
map.attributionControl.addAttribution( map.attributionControl.addAttribution(