OSDN Git Service

fix:replace row break
[pettanr/pettanr.git] / app / assets / javascripts / views / speeches / show.js.coffee
index e037c98..0f32ba7 100644 (file)
@@ -4,7 +4,7 @@ class Pettanr.Views.Speech.ShowModule.Header extends Pettanr.Views.Show.Header
   initialize: (options) ->\r
     super(options)\r
   \r
-class Pettanr.Views.Speech.Show extends Backbone.View\r
+class Pettanr.Views.Speech.Show extends Pettanr.View\r
   tagName: 'div'\r
   className: 'show'\r
   \r
@@ -60,8 +60,7 @@ class Pettanr.Views.Speech.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