summaryrefslogtreecommitdiff
path: root/xstatic/pkg/bootstrap_scss/data/js/bootstrap/alert.js
diff options
context:
space:
mode:
authorRadomir Dopieralski <openstack@sheep.art.pl>2020-03-02 21:26:30 +0100
committerRadomir Dopieralski <openstack@sheep.art.pl>2020-03-16 14:01:36 +0000
commit1ba0b953862e953a8af9fc8a0f1c9ff372b169cf (patch)
treeef1e7d562e0b1f6e24004ba0318eca5b6f60edc6 /xstatic/pkg/bootstrap_scss/data/js/bootstrap/alert.js
parentca68078e755659b32c61cdf9766fd1ea83c45485 (diff)
downloadxstatic-bootstrap-scss-master.tar.gz
Upgrade to 3.4.1HEAD3.4.1.0master
Change-Id: I38c8d1114fd6e6629b4f3a16a85e3e35d8d8d3d6
Diffstat (limited to 'xstatic/pkg/bootstrap_scss/data/js/bootstrap/alert.js')
-rw-r--r--xstatic/pkg/bootstrap_scss/data/js/bootstrap/alert.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/xstatic/pkg/bootstrap_scss/data/js/bootstrap/alert.js b/xstatic/pkg/bootstrap_scss/data/js/bootstrap/alert.js
index db97f3b..7f9606b 100644
--- a/xstatic/pkg/bootstrap_scss/data/js/bootstrap/alert.js
+++ b/xstatic/pkg/bootstrap_scss/data/js/bootstrap/alert.js
@@ -1,8 +1,8 @@
/* ========================================================================
- * Bootstrap: alert.js v3.3.7
- * http://getbootstrap.com/javascript/#alerts
+ * Bootstrap: alert.js v3.4.1
+ * https://getbootstrap.com/docs/3.4/javascript/#alerts
* ========================================================================
- * Copyright 2011-2016 Twitter, Inc.
+ * Copyright 2011-2019 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
* ======================================================================== */
@@ -18,7 +18,7 @@
$(el).on('click', dismiss, this.close)
}
- Alert.VERSION = '3.3.7'
+ Alert.VERSION = '3.4.1'
Alert.TRANSITION_DURATION = 150
@@ -31,7 +31,8 @@
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
}
- var $parent = $(selector === '#' ? [] : selector)
+ selector = selector === '#' ? [] : selector
+ var $parent = $(document).find(selector)
if (e) e.preventDefault()