From 2617a23c404b4b04be8164edfdd61f7b882405fb Mon Sep 17 00:00:00 2001 From: Sebastian T F Date: Fri, 14 Feb 2020 20:42:02 +0530 Subject: [PATCH] Fixes:https://github.com/gitcoinco/web/issues/5865 --- app/assets/v2/js/grants/fund.js | 2 ++ app/assets/v2/js/grants/new.js | 3 +++ 2 files changed, 5 insertions(+) diff --git a/app/assets/v2/js/grants/fund.js b/app/assets/v2/js/grants/fund.js index fae778a836b..cf60e7f37b0 100644 --- a/app/assets/v2/js/grants/fund.js +++ b/app/assets/v2/js/grants/fund.js @@ -12,6 +12,8 @@ document.suppress_faucet_solicitation = 1; $(document).ready(function() { + _alert({ message: gettext('Note: Brave users seem to have issues while contributing to Grants while using both Brave Wallet and MetaMask. We recommend disabling one. For more info, see this issue') }, 'warning'); + predictPhantomCLRMatch(); predictCLRMatch(); diff --git a/app/assets/v2/js/grants/new.js b/app/assets/v2/js/grants/new.js index 5bc4ffe0019..a408973d001 100644 --- a/app/assets/v2/js/grants/new.js +++ b/app/assets/v2/js/grants/new.js @@ -5,6 +5,9 @@ let description = new Quill('#input-description', { }); $(document).ready(function() { + + _alert({ message: gettext('Note: Brave users seem to have issues while contributing to Grants while using both Brave Wallet and MetaMask. We recommend disabling one. For more info, see this issue') }, 'warning'); + if (web3 && web3.eth) { web3.eth.net.isListening((error, connectionStatus) => { if (connectionStatus)