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>
Wed, 4 Nov 2020 03:27:55 +0000 (11:27 +0800)
commita88838c25f47bc158e6f4bcdada0fac62514c59e
treea69d7ff1ca7feefbe49320cae154cc9870b4b35e
parent5d16bfcf7cb87476564176060ad8ccbaef2adbdd
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