Skip to content

Commit

Permalink
[js] Fix empty tooltip handling
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjuhrich committed Oct 9, 2023
1 parent 6edbc33 commit 8154443
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sipa/static/js/agdsn.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function updateStatusWidget(statusMessage, statusEl, tooltipContent) {
link.innerHTML = statusMessage[get_language()];
}
// tooltip
if (tooltipContent !== null) {
if (tooltipContent) {
statusEl.dataset.bsTitle = tooltipContent;
new bootstrap.Tooltip(statusEl);
}
Expand Down

0 comments on commit 8154443

Please sign in to comment.