summaryrefslogtreecommitdiff
path: root/bower_components/bootstrap/js/alert.js
diff options
context:
space:
mode:
authorThomas Park <thomas@thomaspark.co>2016-07-30 17:56:26 -0400
committerThomas Park <thomas@thomaspark.co>2016-07-30 17:56:26 -0400
commit4b0d3762f309326a6d66fa4ea18945a7fc11f8ef (patch)
tree200dec9f06653572a265432575829df3c0003ca3 /bower_components/bootstrap/js/alert.js
parent316f055624e046b4a23dc9a35629b87b1be8f58e (diff)
update to v3.3.7
Diffstat (limited to 'bower_components/bootstrap/js/alert.js')
-rw-r--r--bower_components/bootstrap/js/alert.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/bower_components/bootstrap/js/alert.js b/bower_components/bootstrap/js/alert.js
index 5536755d..db97f3b0 100644
--- a/bower_components/bootstrap/js/alert.js
+++ b/bower_components/bootstrap/js/alert.js
@@ -1,8 +1,8 @@
/* ========================================================================
- * Bootstrap: alert.js v3.3.6
+ * Bootstrap: alert.js v3.3.7
* http://getbootstrap.com/javascript/#alerts
* ========================================================================
- * Copyright 2011-2015 Twitter, Inc.
+ * Copyright 2011-2016 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.6'
+ Alert.VERSION = '3.3.7'
Alert.TRANSITION_DURATION = 150
@@ -31,7 +31,7 @@
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
}
- var $parent = $(selector)
+ var $parent = $(selector === '#' ? [] : selector)
if (e) e.preventDefault()