Close popup automatically after a successful save
This commit is contained in:
1 parent
b2082d0624
commit
646a106e93
4 files changed
+39
-1
No files matched your search
@@ -74,6 +74,11 @@ function loadPopupScript({ initialSettings } = {}) {
|
||||
);
|
||||
const savedCalls = [];
|
||||
|
||||
window.__closeCalled = false;
|
||||
window.close = () => {
|
||||
window.__closeCalled = true;
|
||||
};
|
||||
|
||||
window.chrome = {
|
||||
storage: {
|
||||
sync: {
|
||||
|
||||
Reference in new issue
Block a user