Commit 083ad120 authored by kushalpandya's avatar kushalpandya

Remove unnecessary `scrollTo`

parent de7db606
......@@ -57,7 +57,6 @@ export default class ProtectedBranchEdit {
},
},
error() {
$.scrollTo(0);
new Flash('Failed to update branch!', null, $('.js-protected-branches-list'));
},
}).always(() => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment