Мелкая поправка

This commit is contained in:
Book Pauk
2019-01-13 21:16:15 +07:00
parent 1246569b42
commit 4a1e956a9b

View File

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