diff --git a/src/main/content/_assets/js/header.js b/src/main/content/_assets/js/header.js index 9d2012ac..241cd27e 100644 --- a/src/main/content/_assets/js/header.js +++ b/src/main/content/_assets/js/header.js @@ -19,15 +19,7 @@ function loadWhatsNewModal(){ let currentVersion = String($('#modal-title').data('version')); - if (localStorage.didOpenWhatsNew === 'false') { - // shows the header with "Learn More" button to show the modal about the latest release - $('#whats-new-toast').toast('show'); - } - else if (currentVersion !== localStorage.getItem('whatsNewVersion')){ - localStorage.setItem('whatsNewVersion', currentVersion); - localStorage.setItem('didOpenWhatsNew', false); - $('#whats-new-toast').toast('show'); - } + $('#whats-new-toast').toast('show'); $('#whats-new-modal').on('show.bs.modal', function () { // nav bar would be on top of modal on scroll so take it away and put it back on hide diff --git a/src/main/content/_includes/header.html b/src/main/content/_includes/header.html index 097bfb43..1cf3ed75 100644 --- a/src/main/content/_includes/header.html +++ b/src/main/content/_includes/header.html @@ -2,11 +2,11 @@