Browse Source

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

Book Pauk 6 years ago
parent
commit
4a1e956a9b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      client/components/Reader/LoaderPage/LoaderPage.vue

+ 1 - 1
client/components/Reader/LoaderPage/LoaderPage.vue

@@ -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();
         }
     }