#12488 when px lower 0 default 100
This commit is contained in:
parent
21fe027a62
commit
80c0f48774
|
@ -440,9 +440,11 @@ function checkPositionButtons(positionButtonsBefore) {
|
|||
var positionFinal;
|
||||
if (positionButtonsBefore > buttonsNow) {
|
||||
positionFinal = dialogPosition + (positionButtonsBefore - buttonsNow);
|
||||
positionFinal = positionFinal < 0 ? "100" : positionFinal;
|
||||
$(".dialog_tips").css("top", positionFinal);
|
||||
} else if (positionButtonsBefore < buttonsNow) {
|
||||
positionFinal = dialogPosition - (buttonsNow - positionButtonsBefore);
|
||||
positionFinal = positionFinal < 0 ? "100" : positionFinal;
|
||||
$(".dialog_tips").css("top", positionFinal);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue