diff --git a/resources/assets/js/annotations/components/screenshotButton.vue b/resources/assets/js/annotations/components/screenshotButton.vue index f0c244a51..c4ddf4418 100644 --- a/resources/assets/js/annotations/components/screenshotButton.vue +++ b/resources/assets/js/annotations/components/screenshotButton.vue @@ -174,7 +174,8 @@ export default { this.filesObj[this.ids[index]] = filename; }); Keyboard.on('p', this.capture); - Events.$on(['annotations.map.init', 'videos.map.init'], this.setMap); + Events.on('videos.map.init', this.setMap); + Events.on('annotations.map.init', this.setMap); }, }; diff --git a/resources/views/volumes/videos/index/meta.blade.php b/resources/views/volumes/videos/index/meta.blade.php index bb11edc14..b21ef2bab 100644 --- a/resources/views/volumes/videos/index/meta.blade.php +++ b/resources/views/volumes/videos/index/meta.blade.php @@ -1,5 +1,5 @@ @push('scripts') -