diff --git a/app/assets/javascripts/gl_dropdown.js.coffee b/app/assets/javascripts/gl_dropdown.js.coffee index 70fe92bffe004cfedf0d8552b0d87b10614151ba..0d967552a74584dc8237ca5fe01f7c3a00c42722 100644 --- a/app/assets/javascripts/gl_dropdown.js.coffee +++ b/app/assets/javascripts/gl_dropdown.js.coffee @@ -249,9 +249,12 @@ class GitLabDropdown renderItem: (data) -> html = "" - # Separator + # Divider return "<li class='divider'></li>" if data is "divider" + # Separator is a full-width divider + return "<li class='separator'></li>" if data is "separator" + # Header return "<li class='dropdown-header'>#{data.header}</li>" if data.header?