mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-13 18:45:43 +05:00
Fix inconsistencies for guest banner display
This commit is contained in:
parent
a8aaf13797
commit
42ce985c84
@ -3460,7 +3460,7 @@ define([
|
||||
|
||||
crowdfundingState = true;
|
||||
common.getAttribute(['general', 'crowdfunding'], function (err, val) {
|
||||
if (err || val === false) { crowdfundingState = false; return; }
|
||||
if ((err && common.isLoggedIn()) || val === false) { crowdfundingState = false; return; }
|
||||
common.getSframeChannel().query('Q_CROWDFUNDING_SHOULD_SHOW', null, function (err, result) {
|
||||
if (err || !result || !result.show) {
|
||||
crowdfundingState = false;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user