xP: resolve various issues, mostly in styling

This commit is contained in:
2022-09-07 17:25:31 +02:00
parent 2341228efd
commit 88a7b1a2d9
3 changed files with 44 additions and 13 deletions

View File

@@ -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)