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
Add a link
Reference in a new issue