From: Jacob Thornton Date: Sat, 27 Aug 2011 07:42:20 +0000 (-0700) Subject: rename escape method X-Git-Tag: v1.3.0~86^2^2~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b68b53dca27d44525c07a39499a53ffb54780e7c;p=thirdparty%2Fbootstrap.git rename escape method --- diff --git a/examples/assets/js/bootstrap-modals.js b/examples/assets/js/bootstrap-modals.js index 05a693d82d..e927bc4b3a 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 ) {