MediaWiki:Common.js: Difference between revisions
No edit summary |
No edit summary |
||
| Line 73: | Line 73: | ||
console.log(top, bodyTop, top - bodyTop); | console.log(top, 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'; | ||
}); | }); | ||
} | } | ||