This is an automated email from the ASF dual-hosted git repository.
apratim pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-resilientdb-resvault.git
The following commit(s) were added to refs/heads/main by this push:
new eb7b3ea Update content.js
eb7b3ea is described below
commit eb7b3ea5983fff01dc536f34886e948c740fdfa9
Author: Apratim Shukla <[email protected]>
AuthorDate: Fri Oct 18 10:53:14 2024 -0700
Update content.js
- Improved error handling mechanism.
---
public/content.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/public/content.js b/public/content.js
index bc38506..75ec8ec 100644
--- a/public/content.js
+++ b/public/content.js
@@ -80,7 +80,7 @@ function createOrUpdateLoginModal() {
if (isConnected) {
handleLoginTransactionSubmit();
} else {
- alert('Please connect to the website and net in ResVault
extension.');
+ sendMessageToPage('error');
}
modal.style.display = 'none';
}