OSDN Git Service

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