Skip to content

Commit

Permalink
Return Tooltip instance to match JSDoc description
Browse files Browse the repository at this point in the history
  • Loading branch information
contolini committed Dec 4, 2024
1 parent e85a73c commit 290b87e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function Tooltip(element) {
* @returns {Tooltip} An instance.
*/
function init() {
tippy(element, {
return tippy(element, {
theme: 'cfpb',
maxWidth: 450,
content: function (reference) {
Expand Down

0 comments on commit 290b87e

Please sign in to comment.