We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b266575 commit ba8ad89Copy full SHA for ba8ad89
web_src/js/modules/tippy.js
@@ -103,9 +103,10 @@ export function initGlobalTooltips() {
103
const observer = new MutationObserver((mutationList) => {
104
for (const mutation of mutationList) {
105
if (mutation.type === 'childList') {
106
+ // mainly for Vue components and AJAX rendered elements
107
for (const el of mutation.addedNodes) {
108
// handle all "tooltip" elements in added nodes which have 'querySelectorAll' method, skip non-related nodes (eg: "#text")
- if (el.querySelectorAll) {
109
+ if ('querySelectorAll' in el) {
110
attachChildrenLazyTooltip(el);
111
}
112
0 commit comments