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