Skip to content

Commit 08011f5

Browse files
committed
Merge pull request jquerytools#873 from jpass/dev
Update src/overlay/overlay.js
2 parents 74a0ae6 + fd6d62d commit 08011f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/overlay/overlay.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,8 +137,8 @@
137137
// position & dimensions
138138
var top = conf.top,
139139
left = conf.left,
140-
oWidth = overlay.outerWidth({margin:true}),
141-
oHeight = overlay.outerHeight({margin:true});
140+
oWidth = overlay.outerWidth(true),
141+
oHeight = overlay.outerHeight(true);
142142

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

0 commit comments

Comments
 (0)