From a133017a434083ba0dde6be726034e4133f985b2 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 25 Feb 2015 15:50:32 +0100 Subject: [PATCH] Fixed setting for share options appearing again w/ every init --- wcfsetup/install/files/js/WCF.Message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/js/WCF.Message.js b/wcfsetup/install/files/js/WCF.Message.js index 8bbed45eb3..9c5bb032f1 100644 --- a/wcfsetup/install/files/js/WCF.Message.js +++ b/wcfsetup/install/files/js/WCF.Message.js @@ -3206,7 +3206,7 @@ WCF.Message.Share.Page = Class.extend({ data.link.data('provider', provider).click($.proxy(self._click, self)); }); - if (WCF.User.userID) { + if (WCF.User.userID && !$container.find('.jsShowPrivacySettings').length) { var $openSettings = $('
  • '); $openSettings.appendTo($container.children('ul')).children('a').click($.proxy(this._openPrivacySettings, this)); } -- 2.20.1