Ignore Cmd-Shift-Z in large text areas in the Zotero pane
This commit is contained in:
parent
5fffc71e1f
commit
dff22d1c10
|
@ -415,6 +415,17 @@ var ZoteroPane = new function()
|
|||
|
||||
switch (command) {
|
||||
case 'openZotero':
|
||||
try {
|
||||
// Ignore Cmd-Shift-Z keystroke in text areas
|
||||
if (Zotero.isMac && key == 'Z' &&
|
||||
event.originalTarget.localName == 'textarea') {
|
||||
Zotero.debug('Ignoring keystroke in text area');
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
Zotero.debug(e);
|
||||
}
|
||||
ZoteroPane.toggleDisplay()
|
||||
break;
|
||||
case 'library':
|
||||
|
|
Loading…
Reference in New Issue
Block a user