diff --git a/depictions/web/js/data-loader-engine.js b/depictions/web/js/data-loader-engine.js index b5a204b3..7eda08cf 100644 --- a/depictions/web/js/data-loader-engine.js +++ b/depictions/web/js/data-loader-engine.js @@ -34,7 +34,7 @@ function data_loader_engine(contentBlocks, xml) { case "list": { let list = $(xml).find(contentInfo.source); - if (list.length() === 0) { + if (list.length === 0) { if (contentInfo.emptyListCallback) { contentInfo.emptyListCallback($(key)); }