diff options
author | XhmikosR <xhmikosr@gmail.com> | 2022-10-02 08:24:41 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-02 08:24:41 +0300 |
commit | 812f891bfca0697cb2ec628700b7bbadbd8bf93a (patch) | |
tree | 434747b7222192f97421a66f6432acce1e2714dd /js | |
parent | da0fe8c8b2e969bcf620a9ef1c1ca4f2b8554ec6 (diff) |
Update devDependencies (#37238)
* 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
Diffstat (limited to 'js')
-rw-r--r-- | js/src/toast.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/js/src/toast.js b/js/src/toast.js index fe4ec29729..8aed2fd565 100644 --- a/js/src/toast.js +++ b/js/src/toast.js @@ -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) { |