Closed Bug 1370014 Opened 8 years ago Closed 5 years ago

Sample event handling of drag event is just bad example of coding practices

Categories

(Developer Documentation Graveyard :: HTML, enhancement, P5)

All
Other
enhancement

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jan, Unassigned)

References

()

Details

:: Developer Documentation Request Request Type: Correction Gecko Version: unspecified Technical Contact: :: Details Documentation of drag should provide demo code where the drag event actually does something. The current code has a callback that has empty body, so it doesn't do anything except slow down the browser...: document.addEventListener("drag", function( event ) { }, false);
MDN Web Docs' bug reporting has now moved to GitHub. From now on, please file content bugs at https://github.com/mdn/sprints/issues/ and platform bugs at https://github.com/mdn/kuma/issues/.
Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.