make sure dialog stays on screen after size reset
This commit is contained in:
parent
444fabdb39
commit
240c13278f
1 changed files with 5 additions and 2 deletions
|
@ -1363,8 +1363,11 @@ requires
|
||||||
}
|
}
|
||||||
|
|
||||||
function reset() {
|
function reset() {
|
||||||
that.width(self.options.width);
|
that.css({
|
||||||
that.height(self.options.height);
|
left: Math.max(that.offset().left, 24 - self.options.width)
|
||||||
|
})
|
||||||
|
.width(self.options.width)
|
||||||
|
.height(self.options.height);
|
||||||
that.$content.height(self.options.height - 80);
|
that.$content.height(self.options.height - 80);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue