mirror of
https://github.com/zotero/zotero.git
synced 2026-10-07 02:58:09 +00:00
Add note input event debugging via extensions.zotero.debugNoteEvents
This commit is contained in:
parent
8f3909713f
commit
68b5ac456f
1 changed files with 4 additions and 1 deletions
|
|
@ -404,7 +404,10 @@
|
|||
|
||||
var commandEvent = false;
|
||||
|
||||
//Zotero.debug(event.type);
|
||||
if (Zotero.Prefs.get('debugNoteEvents')) {
|
||||
Zotero.debug(event.type);
|
||||
Zotero.debug(event.which);
|
||||
}
|
||||
switch (event.type) {
|
||||
case 'keydown':
|
||||
// Intercept and manually trigger redo for Cmd-Shift-Z,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue