aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2011-08-27 00:42:20 -0700
committerJacob Thornton <[email protected]>2011-08-27 00:42:20 -0700
commitb68b53dca27d44525c07a39499a53ffb54780e7c (patch)
tree2f8d194e5e25226b78fbba03094c973c271c4f5a /examples
parent1cbda504a0a4bb4a34a43722a0f65d2a0bc8abb7 (diff)
downloadbootstrap-b68b53dca27d44525c07a39499a53ffb54780e7c.tar.xz
bootstrap-b68b53dca27d44525c07a39499a53ffb54780e7c.zip
rename escape method
Diffstat (limited to 'examples')
-rw-r--r--examples/assets/js/bootstrap-modals.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/assets/js/bootstrap-modals.js b/examples/assets/js/bootstrap-modals.js
index 05a693d82..e927bc4b3 100644
--- a/examples/assets/js/bootstrap-modals.js
+++ b/examples/assets/js/bootstrap-modals.js
@@ -59,7 +59,7 @@
var that = this
this.isOpen = true
- _private.onEscape.call(this)
+ _private.escape.call(this)
_private.backdrop.call(this)
this.$element = $(this.settings.content)
@@ -80,7 +80,7 @@
this.isOpen = false
- _private.onEscape.call(this)
+ _private.escape.call(this)
_private.backdrop.call(this)
this.$element.removeClass('open')
@@ -125,7 +125,7 @@
}
}
- , onEscape: function () {
+ , escape: function () {
var that = this
if ( this.isOpen && this.settings.closeOnEscape ) {
$window.bind('keyup.modal.escape', function ( e ) {