Skip to content

Commit

Permalink
MDL-70075 core: Do not return a value in an event handler
Browse files Browse the repository at this point in the history
Returning a value of `false` in an event handler has the effect of
calling event.preventDefault() and event.stopPropagation().

This is neither obvious, nor desirable in this situation.
  • Loading branch information
andrewnicols committed Nov 4, 2020
1 parent 6cdcee7 commit 4edad07
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Loading

0 comments on commit 4edad07

Please sign in to comment.