Commit c54d2a03 authored by Phil Hughes's avatar Phil Hughes

Removes tick from no label when selecting a label

parent 0a81c000
...@@ -333,6 +333,12 @@ class @LabelsSelect ...@@ -333,6 +333,12 @@ class @LabelsSelect
clicked: (label) -> clicked: (label) ->
_this.enableBulkLabelDropdown() _this.enableBulkLabelDropdown()
if $dropdown.parent().find('.is-active:not(.dropdown-clear-active)').length
$dropdown
.parent()
.find('.dropdown-clear-active')
.removeClass('is-active')
if $dropdown.hasClass('js-filter-bulk-update') or $dropdown.hasClass('js-issuable-form-dropdown') if $dropdown.hasClass('js-filter-bulk-update') or $dropdown.hasClass('js-issuable-form-dropdown')
return return
......
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