assets/themes/j1/modules/cookieConsent/js/cookieConsent.js in j1-template-2022.4.5 vs assets/themes/j1/modules/cookieConsent/js/cookieConsent.js in j1-template-2022.4.6

- old
+ new

@@ -208,12 +208,22 @@ // --------------------------------------------------------------------- // register events for the dialog (modal) // --------------------------------------------------------------------- // --------------------------------------------------------------------- + // on 'show' + // --------------------------------------------------------------------- + self.$modal.on('show.bs.modal', function () { + // hide the menubar for the modal header + $('#navigator_nav_navbar').hide(); + }); // END modal on 'show' + + // --------------------------------------------------------------------- // on 'hidden' // --------------------------------------------------------------------- self.$modal.on('hidden.bs.modal', function () { + // if the modal is closed, show the menubar + $('#navigator_nav_navbar').show(); // process settings after the user has made his selections executeFunctionByName (self.props.postSelectionCallback, window); }); // END modal on 'hidden' // load modal content