Skip to content

Commit

Permalink
Merge branch 'master' into gh-1389
Browse files Browse the repository at this point in the history
  • Loading branch information
retorquere committed Jan 11, 2020
2 parents b489f51 + 9e53f63 commit d58b654
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions content/prefs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export let Preferences = new class { // tslint:disable-line:variable-name
this.testing = Zotero.Prefs.get(this.key('testing'))

let old, key
if (typeof (old = Zotero.Prefs.get(key = this.key('workers'))) !== 'number') {
Zotero.Prefs.set(key, old ? 1 : 0)
}
if (typeof (old = Zotero.Prefs.get(key = this.key('suppressTitleCase'))) !== 'undefined') {
Zotero.Prefs.set(this.key('exportTitleCase'), !old)
Zotero.Prefs.clear(key)
Expand Down

0 comments on commit d58b654

Please sign in to comment.