From d6c1aa52f3deb52dd6be7178dae84b6f0f99f8a7 Mon Sep 17 00:00:00 2001 From: Alessio Vanni Date: Thu, 14 Mar 2019 10:25:07 +0100 Subject: Let Basilisk be considered "modern Firefox" --- js/vapi-background.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'js/vapi-background.js') 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; /******************************************************************************/ -- cgit v1.2.3