Auto DevOps callout banner doesn't expand the settings section
In the Auto DevOps callout/banner, the "Enable in settings" button links to the CI/CD settings but it doesn't expand "General" section. This also applies to the anchor in the empty repo notes.
<namespace>/<project>/settings/ci_cd#js-general-pipeline-settings
Based on https://gitlab.com/gitlab-org/gitlab-ce/commit/38bcf699abf1f8cec7b4e11c914e1baae57f9b81, this used to work.
It looks like this broke in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/13363/diffs#1ca87a916f59485ae2b8ff84e2ac35052903df37_47_45 and is caused by $target.hasClass('.settings')
which should be $target.hasClass('settings')
.