mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
feat(video-card): command + click always open on new tab
This commit is contained in:
@@ -205,7 +205,7 @@ function handelMouseLeave() {
|
||||
function handleClick(event: MouseEvent) {
|
||||
videoCurrentTime.value = getCurrentTime()
|
||||
|
||||
if (settings.value.videoCardLinkOpenMode === 'drawer' && videoUrl.value && !event.ctrlKey) {
|
||||
if (settings.value.videoCardLinkOpenMode === 'drawer' && videoUrl.value && !event.ctrlKey && !event.metaKey) {
|
||||
event.preventDefault()
|
||||
|
||||
openIframeDrawer(videoUrl.value)
|
||||
|
||||
Reference in New Issue
Block a user