From: Alexander Ebert Date: Wed, 25 Feb 2015 14:50:32 +0000 (+0100) Subject: Fixed setting for share options appearing again w/ every init X-Git-Tag: 2.1.0~26^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a133017a434083ba0dde6be726034e4133f985b2;p=GitHub%2FWoltLab%2FWCF.git Fixed setting for share options appearing again w/ every init --- 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)); }