Add a pref to always show doc integration automatic updates option
This commit is contained in:
parent
f04a8c3736
commit
966c293dea
2 changed files with 4 additions and 2 deletions
|
@ -216,8 +216,9 @@ var Zotero_File_Interface_Bibliography = new function() {
|
|||
!selectedStyleObj.usesAbbreviation;
|
||||
|
||||
// Hide the automaticCitationUpdates checkbox before the prompt is shown
|
||||
document.getElementById("automaticCitationUpdates-vbox").hidden
|
||||
= _io.dontAskDelayCitationUpdates == undefined;
|
||||
var showAutomaticUpdatesOption = Zotero.Prefs.get('integration.alwaysShowAutomaticUpdatesOption')
|
||||
|| _io.dontAskDelayCitationUpdates !== undefined;
|
||||
document.getElementById("automaticCitationUpdates-vbox").hidden = !showAutomaticUpdatesOption;
|
||||
|
||||
// Highlight delay citations checkbox after displaying the alert
|
||||
// NOTE: Currently unused
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue