Browse Source

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

Book Pauk 6 năm trước cách đây
mục cha
commit
4a1e956a9b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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();
         }
     }