Selaa lähdekoodia

Update OpBar.vue

star7th 6 vuotta sitten
vanhempi
commit
239cb3e405
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      web_src/src/components/item/show/show_regular_item/OpBar.vue

+ 3 - 0
web_src/src/components/item/show/show_regular_item/OpBar.vue

@@ -470,6 +470,9 @@ export default {
         this.share_single_link = ''
       }
     }
+  },
+  destroyed() {
+    document.onkeydown = undefined 
   }
 }
 </script>