js api refactoring

This commit is contained in:
Gwendolyn 2023-12-21 16:46:14 +01:00
parent 511a40fb5a
commit 9d8fbc808f
3 changed files with 20 additions and 33 deletions

View file

@ -1436,5 +1436,5 @@ LevelControl = L.Control.extend({
if ($('#sidebar').length) {
c3nav_api.authenticated().then(() => editor.init());
editor.init();
}