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:
Diffstat (limited to 'js/tests/unit/tab.js')
-rw-r--r--js/tests/unit/tab.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/tests/unit/tab.js b/js/tests/unit/tab.js
index 40e4656a74..aede32abb1 100644
--- a/js/tests/unit/tab.js
+++ b/js/tests/unit/tab.js
@@ -53,12 +53,12 @@ $(function () {
$.support.transition = false
stop();
$('<div class="tab"/>')
- .bind('bs:tab:show', function (e) {
+ .on('show.bs.tab', function (e) {
e.preventDefault();
ok(true);
start();
})
- .bind('bs:tab:shown', function () {
+ .on('shown.bs.tab', function () {
ok(false);
})
.tab('show')
@@ -78,7 +78,7 @@ $(function () {
$(dropHTML).find('ul>li:first a').tab('show').end()
.find('ul>li:last a').on('show', function(event){
equals(event.relatedTarget.hash, "#1-1")
- }).on('bs:tab:shown', function(event){
+ }).on('shown', function(event){
equals(event.relatedTarget.hash, "#1-1")
}).tab('show')
})