Index: options.js |
=================================================================== |
--- a/options.js |
+++ b/options.js |
@@ -56,7 +56,12 @@ |
message[paramKeys[i]] = arguments[i]; |
} |
- ext.backgroundPage.sendMessage(message, callback); |
+ // Edge silently fails when sendMessage is called with a callback |
kzar
2017/01/17 06:54:31
Did you file an issue for this with Microsoft? (Or
Oleksandr
2017/01/18 03:08:44
The issue is marked as Fixed, however it is not cl
kzar
2017/01/18 03:48:41
OK well add a link to that issue here and also upd
|
+ // parameter of undefined, so we work around that here. |
+ if (callback) |
+ ext.backgroundPage.sendMessage(message, callback); |
+ else |
+ ext.backgroundPage.sendMessage(message); |
}; |
} |