aboutsummaryrefslogtreecommitdiff
path: root/js/tests/unit
diff options
context:
space:
mode:
authorfat <[email protected]>2015-05-07 12:48:22 -0700
committerfat <[email protected]>2015-05-07 12:57:31 -0700
commit0724bd91ff81b5eca0addce0c336c72b3ec10be5 (patch)
treee379980598b1662ff14ff5543c825887148bc0c4 /js/tests/unit
parentd1fbe200f46002431cdeebf965c4b789ef7ed267 (diff)
downloadbootstrap-0724bd91ff81b5eca0addce0c336c72b3ec10be5.tar.xz
bootstrap-0724bd91ff81b5eca0addce0c336c72b3ec10be5.zip
es6 alert :|
Diffstat (limited to 'js/tests/unit')
-rw-r--r--js/tests/unit/alert.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/tests/unit/alert.js b/js/tests/unit/alert.js
index 6be990a51..97818960a 100644
--- a/js/tests/unit/alert.js
+++ b/js/tests/unit/alert.js
@@ -38,7 +38,8 @@ $(function () {
+ '<a class="close" href="#" data-dismiss="alert">×</a>'
+ '<p><strong>Holy guacamole!</strong> Best check yo self, you\'re not looking too good.</p>'
+ '</div>'
- var $alert = $(alertHTML).bootstrapAlert()
+
+ var $alert = $(alertHTML).bootstrapAlert().appendTo($('#qunit-fixture'))
$alert.find('.close').trigger('click')