mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
Fix a flowchat selection issue
This commit is contained in:
parent
197671960d
commit
661aaead35
@ -248,7 +248,7 @@ export const getClasses = function () {
|
||||
|
||||
const setupToolTips = function (element) {
|
||||
let tooltipElem = d3.select('.mermaidTooltip')
|
||||
if (tooltipElem[0][0] === null) {
|
||||
if ((tooltipElem._groups || tooltipElem)[0][0] === null) {
|
||||
tooltipElem = d3.select('body')
|
||||
.append('div')
|
||||
.attr('class', 'mermaidTooltip')
|
||||
|
Loading…
x
Reference in New Issue
Block a user