mirror of
https://github.com/zotero/zotero.git
synced 2026-10-04 02:31:47 +00:00
no find-as-you-type on 0 keypress in itemTree (#5564)
This commit is contained in:
parent
fefad8a9e3
commit
59742ccc8f
1 changed files with 3 additions and 1 deletions
|
|
@ -997,7 +997,9 @@ var ItemTree = class ItemTree extends LibraryTree {
|
|||
// When 0 is pressed, remove all colored tags
|
||||
if (position == -1) {
|
||||
let items = this.getSelectedItems();
|
||||
return Zotero.Tags.removeColoredTagsFromItems(items);
|
||||
Zotero.Tags.removeColoredTagsFromItems(items);
|
||||
// Disable find-as-you-type for 0 keypress
|
||||
return false;
|
||||
}
|
||||
let colorData = Zotero.Tags.getColorByPosition(libraryID, position);
|
||||
// If a color isn't assigned to this number or any
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue