1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-11-01 22:14:21 +00:00

tooltips pour les états préjudiciables

This commit is contained in:
Maxime Moraine 2021-03-12 19:28:30 +01:00
parent 7c23239138
commit b508862c9b
8 changed files with 156 additions and 4 deletions

View file

@ -23,6 +23,7 @@
<script>
import {displayItemMeta} from '@theme/util/magicItemHelpers'
import MarkdownIt from 'markdown-it'
import { handleTooltips } from '@theme/util'
export default {
name: 'MagicItem',
@ -39,6 +40,17 @@ export default {
displayItemMeta () {
return displayItemMeta(this.magicItem.frontmatter)
}
},
mounted () {
setTimeout(function () {
handleTooltips()
}, 100);
this.$router.afterEach(() => {
setTimeout(function () {
handleTooltips()
}, 100)
})
}
}
</script>