Skip to content

Commit

Permalink
Fix: modal position should be fixed, not absolute.
Browse files Browse the repository at this point in the history
  • Loading branch information
kylefox committed Sep 20, 2010
1 parent 54377f4 commit 5bc6c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

function show() {
$elm.css({
position: 'absolute',
position: 'fixed',
top: "50%",
left: "50%",
marginTop: - ($elm.height() / 2),
Expand Down

0 comments on commit 5bc6c9f

Please sign in to comment.