Skip to content

Commit

Permalink
Update devDependencies (#37238)
Browse files Browse the repository at this point in the history
* Update devDependencies

* @babel/cli             ^7.18.10  →   ^7.19.3
* @babel/core             ^7.19.1  →   ^7.19.3
* @babel/preset-env       ^7.19.1  →   ^7.19.3
* eslint-plugin-unicorn   ^43.0.2  →   ^44.0.0
* hugo-bin                ^0.92.1  →   ^0.92.2
* lockfile-lint            ^4.9.3  →    ^4.9.5
* postcss                 ^8.4.16  →   ^8.4.17
* stylelint              ^14.12.1  →  ^14.13.0
* vnu-jar                21.10.12  →   22.9.29

* toast.js: fix new lint errors
  • Loading branch information
XhmikosR committed Oct 2, 2022
1 parent da0fe8c commit 812f891
Show file tree
Hide file tree
Showing 3 changed files with 254 additions and 224 deletions.
11 changes: 8 additions & 3 deletions js/src/toast.js
Expand Up @@ -153,15 +153,20 @@ class Toast extends BaseComponent {
_onInteraction(event, isInteracting) {
switch (event.type) {
case 'mouseover':
case 'mouseout':
case 'mouseout': {
this._hasMouseInteraction = isInteracting
break
}

case 'focusin':
case 'focusout':
case 'focusout': {
this._hasKeyboardInteraction = isInteracting
break
default:
}

default: {
break
}
}

if (isInteracting) {
Expand Down

0 comments on commit 812f891

Please sign in to comment.