diff options
author | Alessio Vanni <vannilla@firemail.cc> | 2019-03-14 10:25:07 +0100 |
---|---|---|
committer | Alessio Vanni <vannilla@firemail.cc> | 2019-03-14 10:25:07 +0100 |
commit | d6c1aa52f3deb52dd6be7178dae84b6f0f99f8a7 (patch) | |
tree | 60fd1f4eafe327f3ec2137c1f3191eca57ce4a39 /js/vapi-background.js | |
parent | e1a2e36d6284e6839ceb3de0e083550170cbb616 (diff) | |
download | ematrix-d6c1aa52f3deb52dd6be7178dae84b6f0f99f8a7.tar.lz ematrix-d6c1aa52f3deb52dd6be7178dae84b6f0f99f8a7.tar.xz ematrix-d6c1aa52f3deb52dd6be7178dae84b6f0f99f8a7.zip |
Let Basilisk be considered "modern Firefox"
Diffstat (limited to 'js/vapi-background.js')
-rw-r--r-- | js/vapi-background.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/vapi-background.js b/js/vapi-background.js index d60ef53..22210bb 100644 --- a/js/vapi-background.js +++ b/js/vapi-background.js @@ -48,8 +48,9 @@ const {Services} = Cu.import('resource://gre/modules/Services.jsm', null); var vAPI = self.vAPI = self.vAPI || {}; vAPI.firefox = true; -vAPI.modernFirefox = Services.appinfo.ID === '{ec8030f7-c20a-464f-9b0e-13a3a9e97384}' && - Services.vc.compare(Services.appinfo.platformVersion, '44') > 0; + vAPI.modernFirefox = + Services.appinfo.ID === '{ec8030f7-c20a-464f-9b0e-13a3a9e97384}' + && Services.vc.compare(Services.appinfo.version, '44') > 0; /******************************************************************************/ |