Allow possibly useless multi-character delimiters, so that ahoward stops bothering me
This commit is contained in:
parent
1c429dc33c
commit
e305dff598
2 changed files with 5 additions and 3 deletions
|
@ -4,6 +4,7 @@ var Zotero_Long_Tag_Fixer = new function () {
|
|||
|
||||
this.init = function () {
|
||||
document.getElementById('zotero-old-tag').value = _oldTag;
|
||||
document.getElementById('zotero-old-tag-delimiter').nextSibling.value = 'character'; // TODO: localize
|
||||
|
||||
var lastMode = Zotero.Prefs.get('lastLongTagMode');
|
||||
if (!lastMode) {
|
||||
|
|
|
@ -36,9 +36,10 @@
|
|||
<vbox>
|
||||
<hbox align="center">
|
||||
<label>Split at the </label>
|
||||
<textbox id="zotero-old-tag-delimiter" size="1" maxlength="1" value=";"
|
||||
oninput="Zotero_Long_Tag_Fixer.updateTagList()"/>
|
||||
<label>character</label>
|
||||
<!-- // TODO: localize -->
|
||||
<textbox id="zotero-old-tag-delimiter" size="1" value=";"
|
||||
oninput="this.nextSibling.value = this.value.length > 1 ? 'characters' : 'character'; Zotero_Long_Tag_Fixer.updateTagList();"/>
|
||||
<label/>
|
||||
</hbox>
|
||||
|
||||
<separator class="thin"/>
|
||||
|
|
Loading…
Reference in a new issue