Fix lint.

This commit is contained in:
Lishid
2023-07-03 18:56:00 -07:00
committed by GitHub
parent 0cab66c9d8
commit 12fe6ff26e

View File

@@ -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;
};