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 |
+ // parameter of undefined, so we work around that here. |
+ if (callback) |
+ ext.backgroundPage.sendMessage(message, callback); |
+ else |
+ ext.backgroundPage.sendMessage(message); |
}; |
} |