diff --git a/src/components/Widgets/XkcdComic.vue b/src/components/Widgets/XkcdComic.vue index f42f6eaea4..2aed03cfbd 100644 --- a/src/components/Widgets/XkcdComic.vue +++ b/src/components/Widgets/XkcdComic.vue @@ -1,8 +1,8 @@ @@ -59,6 +59,12 @@ export default { this.alt = data.alt; this.comicNum = data.num; }, + toolTip(alt) { + const content = alt; + return { + content, html: false, trigger: 'hover focus', delay: 250, classes: 'xkcd-alt-tt', + }; + }, }, }; @@ -80,3 +86,8 @@ export default { } +