diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2017-08-17 03:47:59 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2017-08-17 03:47:59 +0300 |
commit | ab226ba1689de4b73c92c6895445f76e5babb278 (patch) | |
tree | 0b856900541be3293a3d34c6d53cfba97b9083a7 /app/views | |
parent | ba89ee1f7d9e126dc6306a857da5abe816a18047 (diff) |
Fix milestone sidebar collapse button
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/shared/milestones/_sidebar.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/milestones/_sidebar.html.haml b/app/views/shared/milestones/_sidebar.html.haml index 66ac8196f2f..40379f48393 100644 --- a/app/views/shared/milestones/_sidebar.html.haml +++ b/app/views/shared/milestones/_sidebar.html.haml @@ -1,7 +1,7 @@ - affix_offset = local_assigns.fetch(:affix_offset, "50") - project = local_assigns[:project] -%aside.right-sidebar.js-right-sidebar{ data: { "offset-top" => affix_offset, "spy" => "affix" }, class: sidebar_gutter_collapsed_class, 'aria-live' => 'polite' } +%aside.right-sidebar.js-right-sidebar{ data: { "offset-top" => affix_offset, "spy" => "affix", "always-show-toggle" => true }, class: sidebar_gutter_collapsed_class, 'aria-live' => 'polite' } .issuable-sidebar.milestone-sidebar .block.milestone-progress.issuable-sidebar-header %a.gutter-toggle.pull-right.js-sidebar-toggle{ role: "button", href: "#", "aria-label" => "Toggle sidebar" } |