Crowdfunding config
This commit is contained in:
1 parent
003b0f7571
commit
6257b23f16
2 files changed
+2
-1
No files matched your search
@@ -615,7 +615,7 @@ define([
|
|||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
var crowdFunding = h('button', [
|
var crowdFunding = AppConfig.disableCrowdfundingMessages ? undefined : h('button', [
|
||||||
Msg.crowdfunding_home1,
|
Msg.crowdfunding_home1,
|
||||||
h('br'),
|
h('br'),
|
||||||
Msg.crowdfunding_home2
|
Msg.crowdfunding_home2
|
||||||
|
|||||||
@@ -2329,6 +2329,7 @@ define([
|
|||||||
var crowdfundingState = false;
|
var crowdfundingState = false;
|
||||||
UIElements.displayCrowdfunding = function (common) {
|
UIElements.displayCrowdfunding = function (common) {
|
||||||
if (crowdfundingState) { return; }
|
if (crowdfundingState) { return; }
|
||||||
|
if (AppConfig.disableCrowdfundingMessages) { return; }
|
||||||
crowdfundingState = true;
|
crowdfundingState = true;
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
common.getAttribute(['general', 'crowdfunding'], function (err, val) {
|
common.getAttribute(['general', 'crowdfunding'], function (err, val) {
|
||||||
|
|||||||
Reference in new issue
Block a user