mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
#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…
x
Reference in New Issue
Block a user