Compare with a specific number instead of wildcarded

This commit is contained in:
YUKI Hiroshi 2016-06-22 19:04:15 +09:00
parent 8fc304948c
commit 1902b2207c

View File

@ -49,7 +49,7 @@ AboutGroup.prototype = {
newChannel : function(aURI) newChannel : function(aURI)
{ {
const version = Services.appinfo.platformVersion; const version = Services.appinfo.platformVersion;
const compareResult = Services.vc.compare('48.*', version); const compareResult = Services.vc.compare('48.0b1', version);
if (compareResult > 0) { if (compareResult > 0) {
return Services.io.newChannel('chrome://treestyletab/content/group.xul', null, null); return Services.io.newChannel('chrome://treestyletab/content/group.xul', null, null);
} }