summaryrefslogtreecommitdiff
path: root/xP/public/xP.js
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2022-09-07 17:25:31 +0200
committerPřemysl Eric Janouch <p@janouch.name>2022-09-07 17:26:43 +0200
commit88a7b1a2d98d318d32f74d0dc5ef53b95ee5bde0 (patch)
tree72f3b62328f8d3f20ee8db371a85f1fa2532075f /xP/public/xP.js
parent2341228efd02bcd4c99214885a5214826bfffa5c (diff)
downloadxK-88a7b1a2d98d318d32f74d0dc5ef53b95ee5bde0.tar.gz
xK-88a7b1a2d98d318d32f74d0dc5ef53b95ee5bde0.tar.xz
xK-88a7b1a2d98d318d32f74d0dc5ef53b95ee5bde0.zip
xP: resolve various issues, mostly in styling
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)