Skip to content
This repository has been archived by the owner on Oct 9, 2019. It is now read-only.

"return false" should be annotated #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions drag-orig.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
var idelt = ev.dataTransfer.getData("Text");
var id = ev.target.getAttribute('id');

return false;
//return false;

if( (id =='boxB' || id =='boxA') && (idelt == 'drag' || idelt=='drag2'))
return false;
Expand Down Expand Up @@ -113,4 +113,4 @@ <h1>Drag and drop demo in a HTML document, using the HTML5 drag and drop API</h1
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>
</html>