mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 13:59:54 +02:00
Update packages/mermaid/src/diagrams/flowchart/flowDb.ts
Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
@@ -270,7 +270,7 @@ export const setClass = function (ids: string, className: string) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const setTooltip = function (ids: string, tooltip: string) {
|
const setTooltip = function (ids: string, tooltip: string) {
|
||||||
if (!tooltip) {
|
if (tooltip === undefined) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
tooltip = sanitizeText(tooltip);
|
tooltip = sanitizeText(tooltip);
|
||||||
|
Reference in New Issue
Block a user