Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

put new cars at the top of the list

  • Loading branch information...
commit 15b578827d1fac1379d1c11048e20fcb7b1e3416 1 parent 8e85da3
Jonathan Dahan authored September 12, 2011

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  src/public/scripts/lepidoptera.coffee
2  src/public/scripts/lepidoptera.coffee
@@ -38,7 +38,7 @@ lepidoptera = ->
38 38
     dom_resource = $("#resources > ##{resource_id}")
39 39
 
40 40
     if not dom_resource[0]?
41  
-      dom_resource = $("#resources").append("<li class='resource alive' id='#{resource_id}'><h1 class='car_icon_wrapper'><span class='car_icon'>Car Icon</span></h1><span class='car_name'></span><ul class='feeds'></ul></li>")
  41
+      dom_resource = $("#resources").prepend("<li class='resource alive' id='#{resource_id}'><h1 class='car_icon_wrapper'><span class='car_icon'>Car Icon</span></h1><span class='car_name'></span><ul class='feeds'></ul></li>")
42 42
 
43 43
     dom_resource.toggleClass 'alive', alive
44 44
 

0 notes on commit 15b5788

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