Skip to content

Commit

Permalink
new build with latest updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Tatiandad committed May 11, 2021
1 parent ee690e2 commit a6cb5d2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

var body = this.element.getAttribute('tooltip'); // Skip if there is no tooltip text

if (body === '') {
if (body === '' || !body) {
return;
} // Replace the content in the element with the text value from the attribute.

Expand Down
2 changes: 1 addition & 1 deletion dist/webpack.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion esm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ define('[tooltip]', {
const body = this.element.getAttribute('tooltip');

// Skip if there is no tooltip text
if (body === '') {
if (body === '' || !body) {
return;
}
// Replace the content in the element with the text value from the attribute.
Expand Down

0 comments on commit a6cb5d2

Please sign in to comment.