Небольшие поправки

This commit is contained in:
Book Pauk
2020-10-30 11:23:18 +07:00
parent ad5de42172
commit 48c93a2120
3 changed files with 7 additions and 4 deletions

View File

@@ -173,7 +173,7 @@ class LoaderPage extends Vue {
//недостатки сторонних ui
const input = this.$refs.input.$refs.input;
if (document.activeElement === input && event.type == 'keydown' && event.code == 'Enter') {
if (document.activeElement === input && event.type == 'keypress' && event.code == 'Enter') {
this.submitUrl();
return true;
}