diff options
| author | fat <[email protected]> | 2015-05-09 23:00:59 -0700 |
|---|---|---|
| committer | fat <[email protected]> | 2015-05-09 23:04:58 -0700 |
| commit | 8bab38bb7176d2716b72664dbafcc326824a2ee9 (patch) | |
| tree | bdcea0ca5a46b489ac5bee2501bf7c8c081669ee /js/src/alert.js | |
| parent | 1b183e2ff796fc22aba8a8cac074a306c083d018 (diff) | |
| download | bootstrap-8bab38bb7176d2716b72664dbafcc326824a2ee9.tar.xz bootstrap-8bab38bb7176d2716b72664dbafcc326824a2ee9.zip | |
add collapse
Diffstat (limited to 'js/src/alert.js')
| -rw-r--r-- | js/src/alert.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/alert.js b/js/src/alert.js index e5e8eeacb..a712154ab 100644 --- a/js/src/alert.js +++ b/js/src/alert.js @@ -80,7 +80,7 @@ const Alert = (($) => { } if (!parent) { - parent = $(element).closest('.' + ClassName.ALERT)[0] + parent = $(element).closest(`.${ClassName.ALERT}`)[0] } return parent |
