UX: Can't see error message about deploy key without scrolling to the top of the page
As reported in https://gitlab.com/gitlab-com/support-forum/issues/4036, to reproduce: 1. Go to `:project/settings/repository` and add an existing SSH key to the Deploy Key. 2. You then see this: ![image](/uploads/281633f2edf1b159fd1aef47ae0ef2d6/image.png) 3. You have to scroll to the top of the page to see the error: ![image](/uploads/40b71c54433c73693babc45660fa3475/image.png) I think this is happening because the submit reloads the same page, but `#js-deploy-keys-settings` is still the anchor. We should probably scroll back to the top of the page if there is a flash content.
issue