BigW Consortium Gitlab

Commit 363f7a57 by Phil Hughes

Empty the content before append anything to the dropdown

parent 5a097455
......@@ -361,7 +361,9 @@ class GitLabDropdown
selector = '.dropdown-content'
if @dropdown.find(".dropdown-toggle-page").length
selector = ".dropdown-page-one .dropdown-content"
$(selector, @dropdown).append html
$(selector, @dropdown)
.empty()
.append html
# Render the row
renderItem: (data, group = false, index = false) ->
......
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