We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 74a0ae6 + fd6d62d commit 08011f5Copy full SHA for 08011f5
src/overlay/overlay.js
@@ -137,8 +137,8 @@
137
// position & dimensions
138
var top = conf.top,
139
left = conf.left,
140
- oWidth = overlay.outerWidth({margin:true}),
141
- oHeight = overlay.outerHeight({margin:true});
+ oWidth = overlay.outerWidth(true),
+ oHeight = overlay.outerHeight(true);
142
143
if (typeof top == 'string') {
144
top = top == 'center' ? Math.max((w.height() - oHeight) / 2, 0) :
0 commit comments