MediaWiki:Common.js: Difference between revisions

No edit summary
No edit summary
Line 73: Line 73:
                 console.log('top', top);
                 console.log('top', top);
                 console.log('bodyTop', bodyTop);
                 console.log('bodyTop', bodyTop);
                console.log('to', top - bodyTop)
                 e.target.style.left = left - bodyLeft + 'px';
                 e.target.style.left = left - bodyLeft + 'px';
e.target.style.top = top - bodyTop + 'px';
                // e.target.style.top =  top + 'px';
             });
             });
         }
         }