Remove special handling of Cmd-Shift-Z in notes

No longer relevant in standalone app
This commit is contained in:
Dan Stillman 2018-03-01 18:19:26 -05:00
parent 7a15c88972
commit bf122add81

View file

@ -410,15 +410,6 @@
}
switch (event.type) {
case 'keydown':
// Intercept and manually trigger redo for Cmd-Shift-Z,
// which keeps it from toggling the Zotero pane instead
if (Zotero.isMac && event.metaKey && event.shiftKey && !event.ctrlKey
&& !event.altKey && event.keyCode == 90) {
event.stopPropagation();
event.preventDefault();
this.redo();
return;
}
// Handle forward-delete, which doesn't register as a keypress
// when a selection is cleared
if (event.which == event.DOM_VK_DELETE) {
@ -609,14 +600,6 @@
</body>
</method>
<method name="redo">
<body>
<![CDATA[
this._editor.undoManager.redo();
]]>
</body>
</method>
<method name="clearUndo">
<body>
<![CDATA[