mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-20 15:59:51 +02:00
Fix lint.
This commit is contained in:
@@ -342,7 +342,9 @@ export const setLink = function (ids, linkStr, target) {
|
|||||||
setClass(ids, 'clickable');
|
setClass(ids, 'clickable');
|
||||||
};
|
};
|
||||||
export const getTooltip = function (id) {
|
export const getTooltip = function (id) {
|
||||||
if (tooltips.hasOwnProperty(id)) return tooltips[id];
|
if (tooltips.hasOwnProperty(id)) {
|
||||||
|
return tooltips[id];
|
||||||
|
}
|
||||||
return undefined;
|
return undefined;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user