Fix issue with labels not showing initially.

This commit is contained in:
Jacob Schatz 2016-04-13 18:25:39 -04:00
parent 22c089c2fd
commit 6745e58f8f
2 changed files with 4 additions and 2 deletions

View File

@ -19,6 +19,8 @@
gl.animate.animateEach = ($els, animation, time, options, done) ->
dfd = $.Deferred()
if not $els.length
dfd.resolve()
$els.each((i) ->
setTimeout(=>
$this = $(@)

View File

@ -46,9 +46,9 @@
.filter-item.inline
= button_tag "Update issues", class: "btn update_selected_issues btn-save"
- if @labels
.gray-content-block.second-block.filtered-labels
= render "shared/label_row", labels: @labels
- if @labels
= render "shared/label_row", labels: @labels
:javascript
new UsersSelect();