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:
authorfat <jacobthornton@gmail.com>2013-05-17 04:44:50 +0400
committerfat <jacobthornton@gmail.com>2013-05-17 04:44:50 +0400
commita72d0d6e3a5f2691eaa7e036a7b081d021097159 (patch)
treeca0c1037f00dad04ed1d19bcded06762bbfd2cc5 /docs/assets/js/collapse.js
parent19de2e86035746b4cda13d4e3860bc549b4f4841 (diff)
fix tests
Diffstat (limited to 'docs/assets/js/collapse.js')
-rw-r--r--docs/assets/js/collapse.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/assets/js/collapse.js b/docs/assets/js/collapse.js
index 457996d120..c9db1767f6 100644
--- a/docs/assets/js/collapse.js
+++ b/docs/assets/js/collapse.js
@@ -56,7 +56,7 @@
}
this.$element[dimension](0)
- this.transition('addClass', $.Event('show'), 'shown')
+ this.transition('addClass', $.Event('bs:collapse:show'), 'shown')
if ($.support.transition) this.$element[dimension](this.$element[0][scroll])
}
@@ -65,7 +65,7 @@
if (this.transitioning || !this.$element.hasClass('in')) return
var dimension = this.dimension()
this.reset(this.$element[dimension]())
- this.transition('removeClass', $.Event('hide'), 'hidden')
+ this.transition('removeClass', $.Event('bs:collapse:hide'), 'hidden')
this.$element[dimension](0)
}