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…
Reference in New Issue