summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-08-27 13:41:34 +0200
committerJoas Schilling <coding@schilljs.com>2021-08-27 13:41:34 +0200
commit7721a51cd6a098f9196bee3571ebf0e4cf8dd414 (patch)
tree398714305f0a8d64685bcfd09e5c28fc808ede90
parentb58af3f6ad3985b54e4475364ff3f5ce5228e796 (diff)
Don't select own video when opening settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--src/mixins/video.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mixins/video.js b/src/mixins/video.js
index 9161a8509..6a41f221c 100644
--- a/src/mixins/video.js
+++ b/src/mixins/video.js
@@ -69,6 +69,10 @@ const video = {
if (e.target.localName === 'button') {
return
}
+ // Prevent clicks on the "settings icon" of the popover/actions menu to trigger a video selection
+ if (e.target.localName === 'svg') {
+ return
+ }
this.$emit('click-video')
},
},