|
|
@ -2354,19 +2354,23 @@ define([
|
|
|
|
$(yes).click(function () {
|
|
|
|
$(yes).click(function () {
|
|
|
|
modal.delete();
|
|
|
|
modal.delete();
|
|
|
|
common.openURL('https://opencollective.com/cryptpad/contribute');
|
|
|
|
common.openURL('https://opencollective.com/cryptpad/contribute');
|
|
|
|
|
|
|
|
Feedback.send('CROWDFUNDING_YES');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$(modal.popup).find('a').click(function (e) {
|
|
|
|
$(modal.popup).find('a').click(function (e) {
|
|
|
|
e.stopPropagation();
|
|
|
|
e.stopPropagation();
|
|
|
|
e.preventDefault();
|
|
|
|
e.preventDefault();
|
|
|
|
modal.delete();
|
|
|
|
modal.delete();
|
|
|
|
common.openURL('https://opencollective.com/cryptpad/');
|
|
|
|
common.openURL('https://opencollective.com/cryptpad/');
|
|
|
|
|
|
|
|
Feedback.send('CROWDFUNDING_LINK');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$(no).click(function () {
|
|
|
|
$(no).click(function () {
|
|
|
|
modal.delete();
|
|
|
|
modal.delete();
|
|
|
|
|
|
|
|
Feedback.send('CROWDFUNDING_NO');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$(never).click(function () {
|
|
|
|
$(never).click(function () {
|
|
|
|
modal.delete();
|
|
|
|
modal.delete();
|
|
|
|
common.setAttribute(['general', 'crowdfunding'], false);
|
|
|
|
common.setAttribute(['general', 'crowdfunding'], false);
|
|
|
|
|
|
|
|
Feedback.send('CROWDFUNDING_NEVER');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
});
|
|
|
|