Force Menus to stay on screen
This commit is contained in:
parent
ac939e5fb6
commit
d01e3d57a2
4 changed files with 29 additions and 1 deletions
|
@ -126,6 +126,7 @@ class User {
|
|||
if (x !== -1) {
|
||||
Contextmenu.currentmenu = div;
|
||||
document.body.appendChild(div);
|
||||
Contextmenu.keepOnScreen(div);
|
||||
}
|
||||
return div;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue