Skip to content

Commit

Permalink
put some content in the span
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Dahan committed Sep 7, 2011
1 parent 2691763 commit f4b2a3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/public/scripts/lepidoptera.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ lepidoptera = ->
updatePresence = (swarm, resource, alive) ->
# if the resource doesn't exist, add it
dom_resource = $("#resources > ##{resource}")[0] \
or $("#resources").append("<li class='resource' id='#{resource}'><span class='car_icon'></span><span class='car_name'>#{resource}</span><ul class='feeds'></ul></li>")
or $("#resources").append("<li class='resource' id='#{resource}'><span class='car_icon'>car</span><span class='car_name'>#{resource}</span><ul class='feeds'></ul></li>")

dom_resource.find("##{resource}").toggleClass 'alive', alive

Expand Down

0 comments on commit f4b2a3a

Please sign in to comment.