mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Revert "Fix inconsistencies for guest banner display"
This reverts commit 42ce985c84.
This commit is contained in:
parent
42ce985c84
commit
fd2fb12a0a
@ -3460,7 +3460,7 @@ define([
|
||||
|
||||
crowdfundingState = true;
|
||||
common.getAttribute(['general', 'crowdfunding'], function (err, val) {
|
||||
if ((err && common.isLoggedIn()) || val === false) { crowdfundingState = false; return; }
|
||||
if (err || 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