mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
Update packages/mermaid/src/diagrams/flowchart/flowDb.ts
Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
parent
af7282511a
commit
c11093fa71
@ -270,7 +270,7 @@ export const setClass = function (ids: string, className: string) {
|
||||
};
|
||||
|
||||
const setTooltip = function (ids: string, tooltip: string) {
|
||||
if (!tooltip) {
|
||||
if (tooltip === undefined) {
|
||||
return;
|
||||
}
|
||||
tooltip = sanitizeText(tooltip);
|
||||
|
Loading…
x
Reference in New Issue
Block a user