Re-added previous share button selector to keep compatibility
authorMarcel Werk <burntime@woltlab.com>
Wed, 28 Jul 2021 16:00:48 +0000 (18:00 +0200)
committerMarcel Werk <burntime@woltlab.com>
Wed, 28 Jul 2021 16:00:48 +0000 (18:00 +0200)
Missing js file

wcfsetup/install/files/js/WoltLabSuite/Core/Ui/Message/Share/Dialog.js

index c120e4ea957f9b4a1eeed8b3e1d213c4cf27bc68..02fcafe42041e970cb66f72981f01770cf909ca7 100644 (file)
@@ -153,7 +153,7 @@ define(["require", "exports", "tslib", "../../Dialog", "../../../Dom/Util", "../
         }
     }
     function registerButtons() {
-        document.querySelectorAll("a.wsShareButton").forEach((shareButton) => {
+        document.querySelectorAll("a.shareButton,a.wsShareButton").forEach((shareButton) => {
             if (!shareButtons.has(shareButton)) {
                 shareButton.addEventListener("click", (ev) => openDialog(ev));
                 shareButtons.add(shareButton);