Browse Source

fixes #109 issue with modal centering being forced at 50%

Former-commit-id: 1fdb2f46db
Former-commit-id: 58c22820c1
pull/258/head
jlukic 11 years ago
parent
commit
ed50e311a1
1 changed files with 1 additions and 1 deletions
  1. 2
      src/modules/modal.js

2
src/modules/modal.js

@ -282,7 +282,7 @@ $.fn.modal = function(parameters) {
if(module.can.fit()) {
$module
.css({
top: '50%',
top: '',
marginTop: -(module.cache.height / 2)
})
;

Loading…
Cancel
Save