MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary |
||
| Line 74: | Line 74: | ||
console.log('bodyTop', bodyTop); | console.log('bodyTop', bodyTop); | ||
e.target.style.left = left - bodyLeft + 'px'; | e.target.style.left = left - bodyLeft + 'px'; | ||
e.target.style.top = bodyLeft + top + 'px'; | |||
}); | }); | ||
} | } | ||