Commits

Tomoya Chiba  committed ba143e7

Modify file's class to id

  • Participants
  • Parent commits 5c45086

Comments (0)

Files changed (1)

File app/assets/javascripts/backbone/views/filemenu/directory_view.js.coffee

     @model.entries.on('add', @addChild, this)
 
   addChild: (model) ->
-    html = "<li class=\"#{model.viewId}\"></li>"
+    html = "<li id=\"#{model.viewId}\"></li>"
     childView = namespace.FileView.build
       model: model
       el: $(html)