Davidacevedo (Talk | contribs) |
Davidacevedo (Talk | contribs) |
||
Line 103: | Line 103: | ||
var textEl = event.target.querySelector('p'); | var textEl = event.target.querySelector('p'); | ||
− | + | (textEl.textContent = | |
'moved a distance of ' + | 'moved a distance of ' + | ||
(Math.sqrt(Math.pow(event.pageX - event.x0, 2) + | (Math.sqrt(Math.pow(event.pageX - event.x0, 2) + |
Revision as of 23:48, 13 October 2018
#outer-dropzone