Skip to content
This repository
Browse code

Merge pull request #636 from cbmi/issue-630

Fix case where chart loading indicator was not always removed
  • Loading branch information...
commit 2f7dd45afc725f1f4df003228197ebaf80df38e6 2 parents dac6544 + 9244714
Don Naegely naegelyd authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 src/coffee/cilantro/ui/charts/core.coffee
4 src/coffee/cilantro/ui/charts/core.coffee
@@ -76,8 +76,8 @@ define [
76 76 message: 'No data is available for charting'
77 77 @$el.html(view.render().el)
78 78
79   - onChartLoaded: ->
80   - $('.load-view').remove()
  79 + onChartLoaded: =>
  80 + @$el.find('.load-view').remove()
81 81
82 82 renderChart: (options) ->
83 83 view = new @loadView

0 comments on commit 2f7dd45

Please sign in to comment.
Something went wrong with that request. Please try again.