Revert "case insensitive nvui commands"

revert-6611-nvui_case_insensitive
Thibault Duplessis 2020-05-12 13:38:24 -06:00 committed by GitHub
parent 1b73711d6d
commit 7d18393400
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ const promotionRegex = /^([a-h]x?)?[a-h](1|8)=\w$/;
function onSubmit(ctrl: RoundController, notify: (txt: string) => void, style: () => Style, $input: JQuery) {
return function() {
let input = castlingFlavours($input.val().trim()).toLowerCase();
let input = castlingFlavours($input.val().trim());
if (isShortCommand(input)) input = '/' + input;
if (input[0] === '/') onCommand(ctrl, notify, input.slice(1), style());
else {