Create Zotero.isFx35 test and alias isFx31 to it until we get around to fixing the old references
This commit is contained in:
parent
66ca8611c9
commit
77b06e695f
1 changed files with 2 additions and 1 deletions
|
@ -126,7 +126,8 @@ var Zotero = new function(){
|
||||||
this.isFx3 = appInfo.platformVersion.indexOf('1.9') === 0;
|
this.isFx3 = appInfo.platformVersion.indexOf('1.9') === 0;
|
||||||
this.isFx30 = appInfo.platformVersion == '1.9'
|
this.isFx30 = appInfo.platformVersion == '1.9'
|
||||||
|| appInfo.platformVersion.indexOf('1.9.0') === 0;
|
|| appInfo.platformVersion.indexOf('1.9.0') === 0;
|
||||||
this.isFx31 = appInfo.platformVersion.indexOf('1.9.1') === 0;
|
this.isFx35 = appInfo.platformVersion.indexOf('1.9.1') === 0;
|
||||||
|
this.isFx31 = this.isFx35;
|
||||||
|
|
||||||
// OS platform
|
// OS platform
|
||||||
var win = Components.classes["@mozilla.org/appshell/appShellService;1"]
|
var win = Components.classes["@mozilla.org/appshell/appShellService;1"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue