Skip to content

Commit

Permalink
fix: missed event prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
crhallberg committed May 22, 2024
1 parent 7330daf commit a5614ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions themes/bootstrap3/js/facets.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ VuFind.register('sideFacets', function SideFacets() {
$facetContainer.find('.facet-load-indicator').remove();
});
VuFind.lightbox.bind($('.sidebar'));
VuFind.emit('VuFind.sidefacets.loaded');
VuFind.emit('sidefacets.loaded');
})
.fail(function onGetSideFacetsFail() {
$container.find('.facet-load-indicator').remove();
Expand Down Expand Up @@ -308,4 +308,4 @@ function registerSideFacetTruncation() {
VuFind.truncate.initTruncate('.truncate-hierarchical-facets', '> li');
}

VuFind.listen('VuFind.sidefacets.loaded', registerSideFacetTruncation);
VuFind.listen('sidefacets.loaded', registerSideFacetTruncation);

0 comments on commit a5614ea

Please sign in to comment.