Skip to content

Commit 6a7000e

Browse files
committed
Put back mistakenly removed line
1 parent 0bf88ff commit 6a7000e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

styles/all/template/webpush.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ function PhpbbWebpush() {
237237
async function subscribeButtonHandler(event) {
238238
event.preventDefault();
239239

240+
subscribeButton.addEventListener('click', subscribeButtonHandler);
241+
240242
try {
241243
// Prevent the user from clicking the subscribe button multiple times.
242244
const result = await Notification.requestPermission();

0 commit comments

Comments
 (0)