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:
Dan Stillman 2021-02-24 15:08:32 -05:00
parent afa989c3a8
commit 0c17829b27

View file

@ -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"]