Skip to content

Commit

Permalink
.size is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
uchks committed Oct 6, 2024
1 parent 2ca672e commit 527a5ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion depictions/web/js/data-loader-engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function data_loader_engine(contentBlocks, xml) {
case "list": {
let list = $(xml).find(contentInfo.source);

if (list.size() === 0) {
if (list.length() === 0) {
if (contentInfo.emptyListCallback) {
contentInfo.emptyListCallback($(key));
}
Expand Down

0 comments on commit 527a5ae

Please sign in to comment.