LPXXX editor continued
authorBill Erickson <berickxx@gmail.com>
Thu, 21 Nov 2019 16:58:09 +0000 (11:58 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 6 Dec 2019 15:37:03 +0000 (10:37 -0500)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/eg2/src/app/staff/share/marc-edit/editable-content.component.ts

index 6552968..17f2a4d 100644 (file)
@@ -162,10 +162,7 @@ export class EditableContentComponent implements OnInit, AfterViewInit {
     // Route keydown events to the appropriate handler
     inputKeyDown(evt: KeyboardEvent) {
         
-        if (this.fieldType === 'ldr') {
-            // This may be overkill, we'll see
-            return;
-        }
+        if (this.fieldType === 'ldr') { return; }
 
         switch (evt.key) {
             case 'Enter': return this.keyEnter(evt);