aboutsummaryrefslogtreecommitdiffstats
path: root/js/vapi-common.js
diff options
context:
space:
mode:
authorAlessio Vanni <vannilla@firemail.cc>2019-06-22 00:12:53 +0200
committerAlessio Vanni <vannilla@firemail.cc>2019-06-22 00:12:53 +0200
commitfc2df27d5768294f22a4d9ad049d45f2d0d52781 (patch)
tree1d2debd4112144cb6e33a8504a6d4039b96fba59 /js/vapi-common.js
parent64316b310f2908dd5dd8ffbfd2d36e9d14ac6a40 (diff)
downloadematrix-fc2df27d5768294f22a4d9ad049d45f2d0d52781.tar.lz
ematrix-fc2df27d5768294f22a4d9ad049d45f2d0d52781.tar.xz
ematrix-fc2df27d5768294f22a4d9ad049d45f2d0d52781.zip
Remove some cruft
Diffstat (limited to 'js/vapi-common.js')
-rw-r--r--js/vapi-common.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/vapi-common.js b/js/vapi-common.js
index 6946a9c..f1bc2ca 100644
--- a/js/vapi-common.js
+++ b/js/vapi-common.js
@@ -39,8 +39,10 @@ const {Services} = Components.utils.import(
);
// https://bugs.chromium.org/p/project-zero/issues/detail?id=1225&desc=6#c10
-if ( self.vAPI === undefined || self.vAPI.eMatrix !== true ) {
- self.vAPI = { eMatrix: true };
+// eMatrix: does this apply to us?
+// In the meantime, let's remove the useless `eMatrix' property from vAPI
+if (self.vAPI === undefined) {
+ self.vAPI = {};
}
var vAPI = self.vAPI;