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:
authorJacob Thornton <jacobthornton@gmail.com>2012-07-23 05:28:39 +0400
committerJacob Thornton <jacobthornton@gmail.com>2012-07-23 05:28:39 +0400
commitdcf75697ecd243517b23d8ef440f772d91f699c0 (patch)
treef0bd9a5a2bd9c0e8a2dd09ceb4606009c5051181 /docs/assets/js/bootstrap-modal.js
parentfa1e1e34dfd9e8501ffdbb92a282ff5550685f3c (diff)
some progress on affix plugin
Diffstat (limited to 'docs/assets/js/bootstrap-modal.js')
-rw-r--r--docs/assets/js/bootstrap-modal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/assets/js/bootstrap-modal.js b/docs/assets/js/bootstrap-modal.js
index 9663399081..530b53e07e 100644
--- a/docs/assets/js/bootstrap-modal.js
+++ b/docs/assets/js/bootstrap-modal.js
@@ -26,9 +26,9 @@
/* MODAL CLASS DEFINITION
* ====================== */
- var Modal = function (content, options) {
+ var Modal = function (element, options) {
this.options = options
- this.$element = $(content)
+ this.$element = $(element)
.delegate('[data-dismiss="modal"]', 'click.dismiss.modal', $.proxy(this.hide, this))
this.options.remote && this.$element.find('.modal-body').load(this.options.remote)
}