move document.ready()

This commit is contained in:
Laura Klünder 2017-10-28 14:19:16 +02:00
parent 0eb444eb38
commit 1b1e76d3e0

View file

@ -58,8 +58,8 @@ c3nav = {
$.ajax('/map/tile_access');
c3nav.schedule_refresh_tile_access();
}
};
$(document).ready(c3nav.init);
LevelControl = L.Control.extend({
options: {
@ -124,5 +124,3 @@ LevelControl = L.Control.extend({
buttons.removeClass('current');
}
});
$(document).ready(c3nav.init);