Fix startup error on Windows
Regression from 8d3f874e64
, which included this unfinished code by mistake.
Fixes #3196
This commit is contained in:
parent
0cd94555d5
commit
dc321ce643
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ Services.scriptloader.loadSubScript("resource://zotero/polyfill.js");
|
|||
|
||||
if (this.isWin) {
|
||||
let branch = Services.prefs.getBranch("toolkit.startup.");
|
||||
if (branch.getUserPref('recent_crashes') > 2) {
|
||||
if (branch.getIntPref('recent_crashes', 0) > 2) {
|
||||
branch.clearUserPref('recent_crashes');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue