Adjust spacing of libraries-to-sync checkmark on Linux
Follow-up to 6af5732fca
This commit is contained in:
parent
6af5732fca
commit
381c5fc8d8
1 changed files with 2 additions and 2 deletions
|
@ -276,7 +276,7 @@ Zotero_Preferences.Sync = {
|
||||||
Zotero.Prefs.set('sync.librariesToSkip', JSON.stringify(librariesToSkip));
|
Zotero.Prefs.set('sync.librariesToSkip', JSON.stringify(librariesToSkip));
|
||||||
|
|
||||||
var cell = row.firstChild.firstChild;
|
var cell = row.firstChild.firstChild;
|
||||||
var spacing = Zotero.isMac ? ' ' : ' ';
|
var spacing = Zotero.isWin ? ' ' : ' ';
|
||||||
cell.setAttribute('label', spacing + (indexOfId != -1 ? this.checkmarkChar : this.noChar));
|
cell.setAttribute('label', spacing + (indexOfId != -1 ? this.checkmarkChar : this.noChar));
|
||||||
cell.setAttribute('value', indexOfId != -1);
|
cell.setAttribute('value', indexOfId != -1);
|
||||||
},
|
},
|
||||||
|
@ -298,7 +298,7 @@ Zotero_Preferences.Sync = {
|
||||||
nameCell.setAttribute('label', libraryName);
|
nameCell.setAttribute('label', libraryName);
|
||||||
nameCell.setAttribute('value', id);
|
nameCell.setAttribute('value', id);
|
||||||
nameCell.setAttribute('editable', false);
|
nameCell.setAttribute('editable', false);
|
||||||
var spacing = Zotero.isMac ? ' ' : ' ';
|
var spacing = Zotero.isWin ? ' ' : ' ';
|
||||||
checkboxCell.setAttribute(
|
checkboxCell.setAttribute(
|
||||||
'label',
|
'label',
|
||||||
id == 'loading' ? '' : (spacing + (checked ? this.checkmarkChar : this.noChar))
|
id == 'loading' ? '' : (spacing + (checked ? this.checkmarkChar : this.noChar))
|
||||||
|
|
Loading…
Add table
Reference in a new issue