Skip to content

Commit

Permalink
Fixed #3 (use outerHeight), bumped to 0.2.3. Also dropped the packed …
Browse files Browse the repository at this point in the history
…file.
  • Loading branch information
kylefox committed Apr 20, 2011
1 parent 8998d63 commit e399651
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.
4 changes: 2 additions & 2 deletions jquery.modal.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
A simple jQuery modal (http://github.com/kylefox/jquery-modal)
Version 0.2.2
Version 0.2.3
*/
(function() {

Expand Down Expand Up @@ -116,7 +116,7 @@
position: 'fixed',
top: "50%",
left: "50%",
marginTop: - (modal.elm.height() / 2),
marginTop: - (modal.elm.outerHeight() / 2),
marginLeft: - (modal.elm.outerWidth() / 2),
zIndex: modal.options.zIndex + 1
});
Expand Down
14 changes: 2 additions & 12 deletions jquery.modal.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions jquery.modal.pack.js

This file was deleted.

0 comments on commit e399651

Please # to comment.