[start page] text box didn't receive system key press event

This commit is contained in:
Maxim Kadushkin
2018-08-08 14:16:28 +03:00
parent 1b5bda4cd3
commit 4bba66bf39

View File

@ -157,7 +157,7 @@
$chOpenMode = me.view.$panel.find('#sett-preview-mode');
$btnApply.on('click', _on_btn_apply).prop('disabled', true);
$userName.on('keypress', _on_txt_user_change);
$userName.on('input', _on_txt_user_change);
$chOpenMode.on('change', e => {
if ( $btnApply.prop('disabled') )
$btnApply.prop('disabled', false);