Crowdfunding config

pull/1/head
yflory 6 years ago
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…
Cancel
Save