diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-11-18 23:36:04 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-11-18 23:36:04 +0900 |
| commit | 318759cfa41915e4813defe9591123286669e9fa (patch) | |
| tree | 8a88ccc260feba69474b99efa852d4125ecefd8e /packages/client/src/directives | |
| parent | introduce lint for client (diff) | |
| download | misskey-318759cfa41915e4813defe9591123286669e9fa.tar.gz misskey-318759cfa41915e4813defe9591123286669e9fa.tar.bz2 misskey-318759cfa41915e4813defe9591123286669e9fa.zip | |
fix
Diffstat (limited to 'packages/client/src/directives')
| -rw-r--r-- | packages/client/src/directives/tooltip.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/client/src/directives/tooltip.ts b/packages/client/src/directives/tooltip.ts index 1294f6b063..b96671be35 100644 --- a/packages/client/src/directives/tooltip.ts +++ b/packages/client/src/directives/tooltip.ts @@ -1,6 +1,6 @@ import { Directive, ref } from 'vue'; import { isDeviceTouch } from '@/scripts/is-device-touch'; -import { popup, dialog } from '@/os'; +import { popup, alert } from '@/os'; const start = isDeviceTouch ? 'touchstart' : 'mouseover'; const end = isDeviceTouch ? 'touchend' : 'mouseleave'; @@ -28,7 +28,7 @@ export default { el.addEventListener('click', (ev) => { ev.preventDefault(); ev.stopPropagation(); - dialog({ + alert({ type: 'info', text: binding.value, }); |