Skip to content

Commit

Permalink
Неиспользуемый аргумент event
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandre887 committed Aug 10, 2023
1 parent ac6b3c1 commit 1971342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 2-ui/2-events/01-introduction-browser-events/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ document.addEventListener("DOMContentLoaded", function() {
handleEvent(event) {
// mousedown -> onMousedown
let method = 'on' + event.type[0].toUpperCase() + event.type.slice(1);
this[method](event);
this[method]();
}
onMousedown() {
Expand Down

0 comments on commit 1971342

Please sign in to comment.