diff --git a/resources/assets/js/videos/videoContainer.vue b/resources/assets/js/videos/videoContainer.vue index 32c47e2a6..29b975bfc 100644 --- a/resources/assets/js/videos/videoContainer.vue +++ b/resources/assets/js/videos/videoContainer.vue @@ -99,6 +99,7 @@ export default { swappingLabel: false, disableJobTracking: false, supportsJumpByFrame: false, + focusInputFindlabel: false, }; }, computed: { @@ -747,14 +748,13 @@ export default { this.supportsJumpByFrame = true; } - // Focus findbar in labelTrees Events.$on('focusTypeaheadEvent', () => { this.$nextTick(() => { - Events.$emit('callFunctionFocustypeahead') + this.focusInputFindlabel = true; }); + this.focusInputFindlabel = false; }); - // on control + k openSidebar labels and after focus find Keyboard.on('control+k', () => { this.openSidebarLabels() }); diff --git a/resources/views/videos/show/sidebar-labels.blade.php b/resources/views/videos/show/sidebar-labels.blade.php index aeb10727f..c9f55c6c7 100644 --- a/resources/views/videos/show/sidebar-labels.blade.php +++ b/resources/views/videos/show/sidebar-labels.blade.php @@ -1,7 +1,7 @@
- +