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