MDL-70075 core: Do not return a value in an event handler
authorAndrew Nicols <andrew@nicols.co.uk>
Mon, 2 Nov 2020 07:42:38 +0000 (15:42 +0800)
committerAndrew Nicols <andrew@nicols.co.uk>
Thu, 5 Nov 2020 01:05:38 +0000 (09:05 +0800)
commit34d1c236684cda2680370ebada9ed896359fbf26
treeb283bbd78787a24980e471686838beee7fc90bd9
parentdc7ca062caf7e9e334337df5dd8bfcb8a50acb8a
MDL-70075 core: Do not return a value in an event handler

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.
lib/amd/build/form-autocomplete.min.js
lib/amd/build/form-autocomplete.min.js.map
lib/amd/src/form-autocomplete.js