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:
parent
7c23239138
commit
b508862c9b
8 changed files with 156 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue