OSDN Git Service

fix:replace row break
[pettanr/pettanr.git] / app / assets / javascripts / views / pictures / credit.js.coffee
index 1212440..1de33a2 100644 (file)
@@ -1,4 +1,4 @@
-class Pettanr.Views.Picture.Credit extends Backbone.View\r
+class Pettanr.Views.Picture.Credit extends Pettanr.View\r
   tagName: 'div'\r
   className: 'credit'\r
   \r
@@ -15,8 +15,7 @@ class Pettanr.Views.Picture.Credit extends Backbone.View
       this.$el.append(p.render().el)\r
     f = (data, status) =>\r
       this.$el.append(data)\r
-      rb = new Tag.RowBreak()\r
-      this.$el.append(rb.render().el)\r
+      @rb()\r
     $.get(@url, null, f, 'html')\r
     this\r
   \r