Parcourir la source

Update OpBar.vue

star7th il y a 5 ans
Parent
commit
239cb3e405
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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>