Skip to content

Commit

Permalink
js is not python
Browse files Browse the repository at this point in the history
  • Loading branch information
walterbender committed Dec 9, 2023
1 parent 7c8e918 commit c731dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ class Toolbar {
elem.innerHTML = obj[1];
}
} else {
if (elem !== undefined and elem !== null) {
if (elem !== undefined && elem !== null) {
elem.setAttribute("data-tooltip", trans);
}
}
Expand Down

0 comments on commit c731dfe

Please sign in to comment.