Commit 6745e58f authored by Jacob Schatz's avatar Jacob Schatz

Fix issue with labels not showing initially.

parent 22c089c2
...@@ -19,6 +19,8 @@ ...@@ -19,6 +19,8 @@
gl.animate.animateEach = ($els, animation, time, options, done) -> gl.animate.animateEach = ($els, animation, time, options, done) ->
dfd = $.Deferred() dfd = $.Deferred()
if not $els.length
dfd.resolve()
$els.each((i) -> $els.each((i) ->
setTimeout(=> setTimeout(=>
$this = $(@) $this = $(@)
......
...@@ -46,9 +46,9 @@ ...@@ -46,9 +46,9 @@
.filter-item.inline .filter-item.inline
= button_tag "Update issues", class: "btn update_selected_issues btn-save" = button_tag "Update issues", class: "btn update_selected_issues btn-save"
- if @labels
.gray-content-block.second-block.filtered-labels .gray-content-block.second-block.filtered-labels
= render "shared/label_row", labels: @labels - if @labels
= render "shared/label_row", labels: @labels
:javascript :javascript
new UsersSelect(); new UsersSelect();
......
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