summaryrefslogtreecommitdiff
path: root/xP/public/xP.js
diff options
context:
space:
mode:
Diffstat (limited to 'xP/public/xP.js')
-rw-r--r--xP/public/xP.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/xP/public/xP.js b/xP/public/xP.js
index 1322a9b..2147cd3 100644
--- a/xP/public/xP.js
+++ b/xP/public/xP.js
@@ -478,10 +478,12 @@ let Input = {
let handled = false
switch (event.keyCode) {
case 9:
- handled = Input.complete(textarea)
+ if (!event.shiftKey)
+ handled = Input.complete(textarea)
break
case 13:
- handled = Input.submit(textarea)
+ if (!event.shiftKey)
+ handled = Input.submit(textarea)
break
}
if (handled)