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