Move #context-menu from #content to body to fix mispositioning when #content is relatively positioned by themes (#25114).

Patch by Serge Galanin (user:galanin).


git-svn-id: https://svn.redmine.org/redmine/trunk@24417 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2026-02-16 09:15:03 +00:00
parent bbcbfec138
commit 49482ace2d

View File

@@ -91,7 +91,7 @@ function contextMenuCreate() {
var menu = document.createElement("div");
menu.setAttribute("id", "context-menu");
menu.setAttribute("style", "display:none;");
document.getElementById("content").appendChild(menu);
document.getElementsByTagName("body")[0].appendChild(menu);
}
}