DevTools: unify preventDefaults in TextPrompt clients
TextPrompt and its subclasses are all single-line prompts. Since none require multiline, we can preventDefault on Enter at the base and remove several preventDefault calls. Bug: none Change-Id: I42c08c10052746954c4698975ca72383f3fc25ec Reviewed-on: https://chromium-review.googlesource.com/683436Reviewed-by:Dmitry Gozman <dgozman@chromium.org> Commit-Queue: Erik Luo <luoe@chromium.org> Cr-Commit-Position: refs/heads/master@{#505229}
Showing
Please register or sign in to comment