mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-16 05:49:43 +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) {
|
||||
if (!tooltip) {
|
||||
if (tooltip === undefined) {
|
||||
return;
|
||||
}
|
||||
tooltip = sanitizeText(tooltip);
|
||||
|
Reference in New Issue
Block a user