Skip to content

Commit

Permalink
deploy: a5cf039
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinchappell committed Nov 16, 2024
1 parent 6ff3edf commit f477043
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion demo.min.js

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

4 changes: 2 additions & 2 deletions tooltip.cjs.min.js

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

Binary file modified tooltip.cjs.min.js.gz
Binary file not shown.
6 changes: 5 additions & 1 deletion tooltip.es.min.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/**
@draggable/tooltip - https://github.com/Draggable/tooltip
Version: 1.2.1
Version: 1.2.2
Author: Draggable https://draggable.io
*/

Expand Down Expand Up @@ -77,6 +77,8 @@ class SmartTooltip {
setupEventListeners() {
document.addEventListener("mouseover", this.handleMouseOver);
document.addEventListener("mouseout", this.handleMouseOut);
document.addEventListener("touchstart", this.handleMouseOver);
document.addEventListener("touchend", this.handleMouseOut);
document.addEventListener("click", this.handleClick);
window.addEventListener("resize", this.handleResize);
window.addEventListener("scroll", this.handleScroll, true);
Expand Down Expand Up @@ -187,6 +189,8 @@ class SmartTooltip {
destroy() {
document.removeEventListener("mouseover", this.handleMouseOver);
document.removeEventListener("mouseout", this.handleMouseOut);
document.removeEventListener("touchstart", this.handleMouseOver);
document.removeEventListener("touchend", this.handleMouseOut);
document.removeEventListener("click", this.handleClick);
window.removeEventListener("resize", this.handleResize);
window.removeEventListener("scroll", this.handleScroll, true);
Expand Down
Binary file modified tooltip.es.min.js.gz
Binary file not shown.
Loading

0 comments on commit f477043

Please sign in to comment.