Skip to content

Commit 1971342

Browse files
authored
Неиспользуемый аргумент event
1 parent ac6b3c1 commit 1971342

File tree

1 file changed

+1
-1
lines changed
  • 2-ui/2-events/01-introduction-browser-events

1 file changed

+1
-1
lines changed

2-ui/2-events/01-introduction-browser-events/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ document.addEventListener("DOMContentLoaded", function() {
414414
handleEvent(event) {
415415
// mousedown -> onMousedown
416416
let method = 'on' + event.type[0].toUpperCase() + event.type.slice(1);
417-
this[method](event);
417+
this[method]();
418418
}
419419
420420
onMousedown() {

0 commit comments

Comments
 (0)