aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--js/vapi-background.js7
1 files changed, 2 insertions, 5 deletions
diff --git a/js/vapi-background.js b/js/vapi-background.js
index 22210bb..6ca7572 100644
--- a/js/vapi-background.js
+++ b/js/vapi-background.js
@@ -2608,10 +2608,7 @@ vAPI.toolbarButton = {
return;
}
- // The following guard seems to always be false for Basilisk, so
- // the button will always be added using the code from this
- // branch.
- if ( Services.vc.compare(Services.appinfo.platformVersion, '36.0') >= 0 ) {
+ if ( Services.vc.compare(Services.appinfo.version, '36.0') >= 0 ) {
return null;
}
var CustomizableUI = null;
@@ -2747,7 +2744,7 @@ vAPI.toolbarButton = {
if ( tbb.init !== null ) {
return;
}
- if ( Services.vc.compare(Services.appinfo.platformVersion, '36.0') < 0 ) {
+ if ( Services.vc.compare(Services.appinfo.version, '36.0') < 0 ) {
return null;
}
var CustomizableUI = null;