Verified Commit 0575b700 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed performance issue with tooltips generation

parent b6ecc511
import Vue from 'vue'
Vue.directive('tooltip', {
inserted: function (el) {
let elems = document.querySelectorAll('.tooltipped')
let elems = el.parentElement.querySelectorAll('.tooltipped')
M.Tooltip.init(elems, {})
}
})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment