make sure dialog stays on screen after size reset
This commit is contained in:
parent
6bde6d53d7
commit
0345cb2320
|
@ -1363,8 +1363,11 @@ requires
|
|||
}
|
||||
|
||||
function reset() {
|
||||
that.width(self.options.width);
|
||||
that.height(self.options.height);
|
||||
that.css({
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user