mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
Hide "Share the love" for local server.
We leave the HTML in because it's harmless. (We could do a more thorough expunge, but I don't see the point). (imported from commit d3d68b0b2df96a9f3de73903b043c18bc6f77563)
This commit is contained in:
parent
d44c0d5f5d
commit
a56fe810b2
@ -20,7 +20,7 @@ exports.update_state = function (granted, used) {
|
||||
last_granted = granted;
|
||||
last_used = used;
|
||||
|
||||
if (granted <= 0) {
|
||||
if (granted <= 0 || page_params.local_server) {
|
||||
$("#share-the-love").hide();
|
||||
} else {
|
||||
$("#referral-form input").attr('placeholder', _.shuffle(placeholder_invitees).pop());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user