aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/js/src/toast.js
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/js/src/toast.js')
-rw-r--r--vendor/twbs/bootstrap/js/src/toast.js13
1 files changed, 4 insertions, 9 deletions
diff --git a/vendor/twbs/bootstrap/js/src/toast.js b/vendor/twbs/bootstrap/js/src/toast.js
index aef5da3a9..54a8d5408 100644
--- a/vendor/twbs/bootstrap/js/src/toast.js
+++ b/vendor/twbs/bootstrap/js/src/toast.js
@@ -1,6 +1,6 @@
/**
* --------------------------------------------------------------------------
- * Bootstrap (v5.2.2): toast.js
+ * Bootstrap (v5.2.0): toast.js
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
* --------------------------------------------------------------------------
*/
@@ -153,20 +153,15 @@ 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) {