Skip to content

Commit

Permalink
Merge pull request #873 from jpass/dev
Browse files Browse the repository at this point in the history
Update src/overlay/overlay.js
  • Loading branch information
alibby251 committed Mar 1, 2013
2 parents 74a0ae6 + fd6d62d commit 08011f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/overlay/overlay.js
Expand Up @@ -137,8 +137,8 @@
// position & dimensions
var top = conf.top,
left = conf.left,
oWidth = overlay.outerWidth({margin:true}),
oHeight = overlay.outerHeight({margin:true});
oWidth = overlay.outerWidth(true),
oHeight = overlay.outerHeight(true);

if (typeof top == 'string') {
top = top == 'center' ? Math.max((w.height() - oHeight) / 2, 0) :
Expand Down

0 comments on commit 08011f5

Please sign in to comment.