Skip to content
Snippets Groups Projects
Commit 2a98590b authored by Adrian Lang's avatar Adrian Lang
Browse files

Better footnote popup positioning

parent 187b5536
No related branches found
No related tags found
No related merge requests found
......@@ -263,7 +263,7 @@ function insitu_popup(target, popup_id) {
// position the div and make it visible
fndiv.style.position = 'absolute';
fndiv.style.left = findPosX(target)+'px';
fndiv.style.top = (findPosY(target)+target.scrollHeight * 1.5) + 'px';
fndiv.style.top = (findPosY(target)+target.offsetHeight * 1.5) + 'px';
fndiv.style.display = '';
return fndiv;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment