Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2017-08-23 17:28:01 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-02-20 23:05:45 +0300
commit4aef395e49a5418b9eec849dc1eb5ab1a180db4e (patch)
treea0d41649b181e942a048e43c4036619df95ea88a /js/src/alert.js
parent2970d14dd91bf1f5f236766c856e81c297fa1390 (diff)
Disable ESlint on no-return-assign and temporary for arrow-body-style
Diffstat (limited to 'js/src/alert.js')
-rw-r--r--js/src/alert.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/alert.js b/js/src/alert.js
index c530b2996b..000d7506f1 100644
--- a/js/src/alert.js
+++ b/js/src/alert.js
@@ -66,7 +66,7 @@ class Alert {
const customEvent = this._triggerCloseEvent(rootElement)
- if (customEvent.defaultPrevented) {
+ if (customEvent === null || customEvent.defaultPrevented) {
return
}