Unique id for the share content dialog
authorAlexander Ebert <ebert@woltlab.com>
Wed, 8 Apr 2020 13:21:01 +0000 (15:21 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Wed, 8 Apr 2020 13:21:01 +0000 (15:21 +0200)
Closes #3181

wcfsetup/install/files/js/WCF.Message.js

index 060c4318e3dc88434c2be9d7e6a838b67c7d4c0b..689e1887f898097b0aff01a9637fa6e8b5f84e5d 100644 (file)
@@ -1977,7 +1977,7 @@ WCF.Message.Share.Content = Class.extend({
                        // remove dialog contents
                        var $dialogInitialized = false;
                        if (this._dialog === null) {
-                               this._dialog = $('<div />').hide().appendTo(document.body);
+                               this._dialog = $('<div id="shareContentDialog" />').hide().appendTo(document.body);
                                $dialogInitialized = true;
                        }
                        else {