Make push notification settings reinit on navigation

This commit is contained in:
Karina Kwiatek 2022-12-24 20:10:55 +00:00
parent 3eafa5e335
commit d9514a306a
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ document.addEventListener('DOMContentLoaded', initModeration);
document.addEventListener('DOMContentLoaded', initMemes);
document.addEventListener('turbo:load', initLocales);
document.addEventListener('turbo:load', initFront);
document.addEventListener('DOMContentLoaded', initWebpush);
document.addEventListener('turbo:load', initWebpush);
window['Stimulus'] = Application.start();
const context = require.context('../retrospring/controllers', true, /\.ts$/);