mirror of
https://github.com/zulip/zulip.git
synced 2025-11-17 20:41:46 +00:00
Move 'unshare the love' flag into feature_flags.
All local_server JS stuff should ideally be controlled from feature-flags so it's easy to see at a glance what's been done. (imported from commit 45b1cdae382679d3fa3b5f02f67e8ab749a89a51)
This commit is contained in:
@@ -20,7 +20,7 @@ exports.update_state = function (granted, used) {
|
||||
last_granted = granted;
|
||||
last_used = used;
|
||||
|
||||
if (granted <= 0 || page_params.local_server) {
|
||||
if (granted <= 0 || feature_flags.do_not_share_the_love) {
|
||||
$("#share-the-love").hide();
|
||||
} else {
|
||||
$("#referral-form input").attr('placeholder', _.shuffle(placeholder_invitees).pop());
|
||||
|
||||
Reference in New Issue
Block a user