summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2021-08-27 15:29:53 +0200
committerGitHub <noreply@github.com>2021-08-27 15:29:53 +0200
commit55442f98175e395ee6dd926240d5c9b1e14091c8 (patch)
tree398714305f0a8d64685bcfd09e5c28fc808ede90
parentb58af3f6ad3985b54e4475364ff3f5ce5228e796 (diff)
parent7721a51cd6a098f9196bee3571ebf0e4cf8dd414 (diff)
Merge pull request #6156 from nextcloud/bugfix/noid/dont-select-video-when-opening-settings
Don't select own video when opening settings
-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')
},
},