diff --git a/src/_h5ai/client/js/inc/ext/crumb.js b/src/_h5ai/client/js/inc/ext/crumb.js index aaabc188..028a799b 100644 --- a/src/_h5ai/client/js/inc/ext/crumb.js +++ b/src/_h5ai/client/js/inc/ext/crumb.js @@ -81,7 +81,7 @@ modulejs.define('ext/crumb', ['_', '$', 'core/settings', 'core/resource', 'core/ $ul.find('.crumb').remove(); _.each(crumb, function (e) { - $ul.append(update(e)); + $ul.append(update(e, true)); }); } }, diff --git a/src/_h5ai/client/js/inc/ext/preview-txt.js b/src/_h5ai/client/js/inc/ext/preview-txt.js index 1914726c..acf20155 100644 --- a/src/_h5ai/client/js/inc/ext/preview-txt.js +++ b/src/_h5ai/client/js/inc/ext/preview-txt.js @@ -259,7 +259,7 @@ modulejs.define('ext/preview-txt', ['_', '$', 'core/settings', 'core/resource', event.preventDefault(); - var matchedEntries = _.compact(_.map($('#item .item'), function (item) { + var matchedEntries = _.compact(_.map($('#items .item'), function (item) { item = $(item).data('item'); return _.indexOf(_.keys(settings.types), item.type) >= 0 ? item : null;