Skip to content
Snippets Groups Projects
Commit 06375c7e authored by Phil Hughes's avatar Phil Hughes
Browse files

Fixed bug on issues home

parent cc21a9bb
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -41,7 +41,7 @@ class @LabelsSelect
# public facing JSON url for labels
$.ajax(
url: labelUrl
).done (labels) ->
).always (labels) ->
data = []
if $(dropdown).hasClass "js-sidebar-label-select"
$.each labels, (i, label) ->
Loading
Loading
@@ -51,7 +51,7 @@ class @LabelsSelect
title: label.title
)
else
html = $(labels)
html = $(labels.responseText)
html.find('.label-row a').each ->
data.push(
title: $(@).text().trim()
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment