diff --git a/app/static/js/ascroll.js b/app/static/js/ascroll.js index ed4dcdb..e371eed 100755 --- a/app/static/js/ascroll.js +++ b/app/static/js/ascroll.js @@ -305,7 +305,7 @@ function loadAnnotations(config) { 'layers' ]}).then(response => { var annotations = [] - if (Array.isArray(config.layer) { + if (Array.isArray(config.layer)) { config.layer.forEach(layer => { response.data.layers[layer].forEach(annotation => { if (!(config.user && annotation.user != config.user)) {