Set isPDFBuild permanently to true
While the code can technically disable various things (e.g., tab bar) to behave like 5.0, other things (e.g., word processor plugins) would be tricky to do conditionally.
This commit is contained in:
parent
afa989c3a8
commit
0c17829b27
1 changed files with 1 additions and 2 deletions
|
@ -231,8 +231,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
|
|||
Zotero.isDevBuild = Zotero.version.includes('beta')
|
||||
|| Zotero.version.includes('dev')
|
||||
|| Zotero.version.includes('SOURCE');
|
||||
Zotero.isPDFBuild = true // Toggle for testing
|
||||
&& (Zotero.version.includes('dev') || Zotero.version.includes('SOURCE'));
|
||||
Zotero.isPDFBuild = true;
|
||||
|
||||
// OS platform
|
||||
var win = Components.classes["@mozilla.org/appshell/appShellService;1"]
|
||||
|
|
Loading…
Reference in a new issue