diff options
| author | Jacob Thornton <[email protected]> | 2012-07-22 18:28:39 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-07-22 18:28:39 -0700 |
| commit | dcf75697ecd243517b23d8ef440f772d91f699c0 (patch) | |
| tree | f0bd9a5a2bd9c0e8a2dd09ceb4606009c5051181 /js/bootstrap-modal.js | |
| parent | fa1e1e34dfd9e8501ffdbb92a282ff5550685f3c (diff) | |
| download | bootstrap-dcf75697ecd243517b23d8ef440f772d91f699c0.tar.xz bootstrap-dcf75697ecd243517b23d8ef440f772d91f699c0.zip | |
some progress on affix plugin
Diffstat (limited to 'js/bootstrap-modal.js')
| -rw-r--r-- | js/bootstrap-modal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/bootstrap-modal.js b/js/bootstrap-modal.js index 966339908..530b53e07 100644 --- a/js/bootstrap-modal.js +++ b/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) } |
