Fix lint.

This commit is contained in:
Lishid 2023-07-03 18:56:00 -07:00 committed by GitHub
parent 0cab66c9d8
commit 12fe6ff26e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

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