From 943f8f32918c8dbcad2d29f1caadd33bf6f66806 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 12 Nov 2023 02:34:45 +0300 Subject: [PATCH] tweaks... Signed-off-by: Alex A. Naanou --- Viewer/lib/keyboard.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Viewer/lib/keyboard.js b/Viewer/lib/keyboard.js index 510b02b8..802474ef 100755 --- a/Viewer/lib/keyboard.js +++ b/Viewer/lib/keyboard.js @@ -156,7 +156,10 @@ for(var k in SPECIAL_KEYS){ var doc = module.doc = function doc(text, func){ - func = !func ? function(){return true}: func + func = !func ? + function(){ + return true } + : func func.doc = text return func } @@ -460,7 +463,7 @@ function shifted(key){ // // .drop to '*' (drop all) and explicitly setting the keys to // // be propagated to 'NEXT'. // // -// // NOTE: his takes precedence over .drop +// // NOTE: this takes precedence over .drop // : 'NEXT', // // ...