Skip to content

Commit

Permalink
adding proper key to element as well
Browse files Browse the repository at this point in the history
  • Loading branch information
Maurice Fonk committed Dec 16, 2011
1 parent f2ba0ce commit bdae858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/itemSubView.coffee
Expand Up @@ -11,7 +11,7 @@ class ItemSubView extends Backbone.View

# Identifiers to store view/dom element under
@key = "_subview-#{ItemSubView.generator.generate()}"
@elementKey = "_subview-element-#{options.key}"
@elementKey = "element-#{@key}"

# Prepend instead of append elements?
@prepend = if options.prepend? then options.prepend else false
Expand Down

0 comments on commit bdae858

Please sign in to comment.