diff options
author | Joas Schilling <coding@schilljs.com> | 2021-08-27 14:41:34 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-08-27 14:41:34 +0300 |
commit | 7721a51cd6a098f9196bee3571ebf0e4cf8dd414 (patch) | |
tree | 398714305f0a8d64685bcfd09e5c28fc808ede90 /src | |
parent | b58af3f6ad3985b54e4475364ff3f5ce5228e796 (diff) |
Don't select own video when opening settings
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/mixins/video.js | 4 |
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') }, }, |