Explorar el Código

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

Book Pauk hace 6 años
padre
commit
4a1e956a9b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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();
         }
     }