diff --git a/invenio_theme/assets/semantic-ui/js/invenio_theme/theme.js b/invenio_theme/assets/semantic-ui/js/invenio_theme/theme.js index 25e9f50..99577ab 100644 --- a/invenio_theme/assets/semantic-ui/js/invenio_theme/theme.js +++ b/invenio_theme/assets/semantic-ui/js/invenio_theme/theme.js @@ -104,3 +104,8 @@ toggle && toggle.addEventListener("click", toggleMenu, false); document.addEventListener('DOMContentLoaded', event => { jquery("#flash-message #alert-content").css('display', 'block'); }) + +// Define a set of global plugins to be used in all modules +window.invenio = { + onSearchResultsRendered: () => {}, +}