Skip to content

Commit

Permalink
埋め込み独自のtooltipを削除
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkokari-gtyih committed Jul 6, 2024
1 parent e260030 commit f4dca6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/frontend/src/components/MkNoteDetailed.vue
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ SPDX-License-Identifier: AGPL-3.0-only
<div :class="$style.noteHeaderUsername"><MkAcct :user="appearNote.user"/></div>
</div>
<div :class="$style.noteHeaderInfo">
<a v-if="inEmbedPage" v-tooltip="instanceName" :href="url" :class="$style.noteHeaderInstanceIconLink" target="_blank" rel="noopener noreferrer">
<a v-if="inEmbedPage" :href="url" :class="$style.noteHeaderInstanceIconLink" target="_blank" rel="noopener noreferrer">
<img :src="instance.iconUrl || '/favicon.ico'" alt="" :class="$style.noteHeaderInstanceIcon"/>
</a>
<template v-else>
Expand Down Expand Up @@ -283,7 +283,7 @@ import MkPagination, { type Paging } from '@/components/MkPagination.vue';
import MkReactionIcon from '@/components/MkReactionIcon.vue';
import MkButton from '@/components/MkButton.vue';
import { isEnabledUrlPreview, instance } from '@/instance.js';
import { url, instanceName } from '@/config.js';
import { url } from '@/config.js';

const props = withDefaults(defineProps<{
note: Misskey.entities.Note;
Expand Down
2 changes: 0 additions & 2 deletions packages/frontend/src/directives/tooltip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ export default {
targetElement: el,
}, {
closed: () => dispose(),
}, {
callEvenOnEmbedPage: true,
});

self._close = () => {
Expand Down

0 comments on commit f4dca6f

Please sign in to comment.