Showing 2 changed files with 2 additions and 2 deletions
+1 -1
templates/branches.html.ep
... ...
@@ -275,7 +275,7 @@
275 275
                     <li class="last-child">
276 276
                       % if ($bname eq $default_branch_name) {
277 277
                         % if ($api->logined($user)) {
278
-                          <a href="<%= url_for("/$user/$project/settings") %>" type="submit" class="btn btn-small">Change default branch</a>
278
+                          <a href="<%= url_for("/$user/$project/settings#form-default-branch") %>" type="submit" class="btn btn-small">Change default branch</a>
279 279
                         % }
280 280
                       % } else {
281 281
                         <a class="btn btn-small" href="<%= url_for("/$user/$project/compare/$bname") %>">
+1 -1
templates/settings.html.ep
... ...
@@ -226,7 +226,7 @@
226 226
                 Settings
227 227
               </h4>
228 228
             </li>
229
-            <li>
229
+            <li id="default-branch">
230 230
               Default Branch
231 231
               <%
232 232
                 my $branches = $git->branches($user, $project);