mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
Better handling of failed check function
This commit is contained in:
parent
e851e723e0
commit
5381ef9604
@ -22,7 +22,7 @@ define([
|
||||
.then((extPassed) => {
|
||||
if (!extPassed) {
|
||||
// Reject if the check didn't pass
|
||||
resolve(null);
|
||||
undefined (resolve());
|
||||
} else {
|
||||
// Extension passed the check
|
||||
resolve(_ext);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user