From 5a5cdf0b04b5d3fcfeea2c3cce5d02d2641db700 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 15 Feb 2021 20:05:54 +0100 Subject: [PATCH] The mail notification type was unselectable --- ts/WoltLabSuite/Core/Controller/User/Notification/Settings.ts | 1 + .../WoltLabSuite/Core/Controller/User/Notification/Settings.js | 1 + 2 files changed, 2 insertions(+) diff --git a/ts/WoltLabSuite/Core/Controller/User/Notification/Settings.ts b/ts/WoltLabSuite/Core/Controller/User/Notification/Settings.ts index adf7d1c9a5..8dd6a3fc84 100644 --- a/ts/WoltLabSuite/Core/Controller/User/Notification/Settings.ts +++ b/ts/WoltLabSuite/Core/Controller/User/Notification/Settings.ts @@ -29,6 +29,7 @@ function stateChange(event: Event): void { function click(event: Event): void { event.preventDefault(); + event.stopPropagation(); const button = event.currentTarget as HTMLAnchorElement; _objectId = ~~button.dataset.objectId!; diff --git a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/User/Notification/Settings.js b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/User/Notification/Settings.js index 39706ece2a..e641c288ae 100644 --- a/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/User/Notification/Settings.js +++ b/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/User/Notification/Settings.js @@ -29,6 +29,7 @@ define(["require", "exports", "tslib", "../../../Language", "../../../Ui/Dropdow } function click(event) { event.preventDefault(); + event.stopPropagation(); const button = event.currentTarget; _objectId = ~~button.dataset.objectId; createDropDown(); -- 2.20.1