mirror of https://github.com/xwiki-labs/cryptpad
Crowdfunding config
This commit is contained in:
parent
003b0f7571
commit
6257b23f16
|
@ -615,7 +615,7 @@ define([
|
|||
}
|
||||
]);
|
||||
|
||||
var crowdFunding = h('button', [
|
||||
var crowdFunding = AppConfig.disableCrowdfundingMessages ? undefined : h('button', [
|
||||
Msg.crowdfunding_home1,
|
||||
h('br'),
|
||||
Msg.crowdfunding_home2
|
||||
|
|
|
@ -2329,6 +2329,7 @@ define([
|
|||
var crowdfundingState = false;
|
||||
UIElements.displayCrowdfunding = function (common) {
|
||||
if (crowdfundingState) { return; }
|
||||
if (AppConfig.disableCrowdfundingMessages) { return; }
|
||||
crowdfundingState = true;
|
||||
setTimeout(function () {
|
||||
common.getAttribute(['general', 'crowdfunding'], function (err, val) {
|
||||
|
|
Loading…
Reference in New Issue