Disable unresponsive script warning before delayed bundled files update
This commit is contained in:
parent
25d48fbca7
commit
e1113209d5
1 changed files with 7 additions and 1 deletions
|
@ -212,7 +212,13 @@ Zotero.Schema = new function(){
|
|||
|
||||
// After a delay, start update of bundled files and repo updates
|
||||
setTimeout(function () {
|
||||
var up = Zotero.Schema.updateBundledFiles();
|
||||
try {
|
||||
Zotero.UnresponsiveScriptIndicator.disable();
|
||||
var up = Zotero.Schema.updateBundledFiles();
|
||||
}
|
||||
finally {
|
||||
Zotero.UnresponsiveScriptIndicator.enable();
|
||||
}
|
||||
if (up) {
|
||||
// Run a manual scraper update if upgraded and pref set
|
||||
if (Zotero.Prefs.get('automaticScraperUpdates')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue