From 110aaf04ea6130061b9e8d0110058d96e86642ce Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 9 Apr 2021 13:36:46 +0530 Subject: [PATCH] remove redundant link to opencollective --- www/common/common-ui-elements.js | 7 ------- www/common/toolbar.js | 2 -- 2 files changed, 9 deletions(-) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 54cdbb82e..c004421ac 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -2721,13 +2721,6 @@ define([ common.openURL(priv.accounts.donateURL); Feedback.send('CROWDFUNDING_YES'); }); - $(modal.popup).find('a').click(function (e) { // XXX do we really need both a link and a button? (the link is the less popular option) - e.stopPropagation(); - e.preventDefault(); - modal.delete(); - common.openURL(priv.accounts.donateURL); - Feedback.send('CROWDFUNDING_LINK'); - }); $(no).click(function () { modal.delete(); Feedback.send('CROWDFUNDING_NO'); diff --git a/www/common/toolbar.js b/www/common/toolbar.js index c6b5c0461..6f87f66a1 100644 --- a/www/common/toolbar.js +++ b/www/common/toolbar.js @@ -981,8 +981,6 @@ MessengerUI, Messages, Pages) { }); } }; - //todo(void 0, true); - Common.isOverPinLimit(todo); return $limit;