OSDN Git Service

fix:replace row break
[pettanr/pettanr.git] / app / assets / javascripts / views / balloons / show.js.coffee
index 4ece36d..a5783a0 100644 (file)
@@ -4,7 +4,7 @@ class Pettanr.Views.Balloon.ShowModule.Header extends Pettanr.Views.Show.Header
   initialize: (options) ->\r
     super(options)\r
   \r
-class Pettanr.Views.Balloon.Show extends Backbone.View\r
+class Pettanr.Views.Balloon.Show extends Pettanr.View\r
   tagName: 'div'\r
   className: 'show'\r
   \r
@@ -60,8 +60,7 @@ class Pettanr.Views.Balloon.Show extends Backbone.View
     this.$el.append(@author.render().el)\r
     this.$el.append(@body.render().el)\r
     this.$el.append(@credits.render().el)\r
-    rb = new Tag.RowBreak()\r
-    this.$el.append(rb.render().el)\r
+    @rb()\r
   \r
   click_show: () ->\r
     @trigger('http_get', @item.show_url())\r