OSDN Git Service

fix:replace row break
[pettanr/pettanr.git] / app / assets / javascripts / views / speech_balloons / element_face.js.coffee
index 464b74a..42595c6 100644 (file)
@@ -1,4 +1,4 @@
-class Pettanr.Views.SpeechBalloon.ElementSymbol extends Backbone.View\r
+class Pettanr.Views.SpeechBalloon.ElementSymbol extends Pettanr.View\r
   tagName: 'div'\r
   className: 'elements-tab-face-icon'\r
   \r
@@ -21,7 +21,7 @@ class Pettanr.Views.SpeechBalloon.ElementSymbol extends Backbone.View
     img = @system_picture.tmb_opt_img_tag()\r
     this.$el.html(img.render().el)\r
   \r
-class Pettanr.Views.SpeechBalloon.ElementFace extends Backbone.View\r
+class Pettanr.Views.SpeechBalloon.ElementFace extends Pettanr.View\r
   tagName: 'div'\r
   className: 'elements-tab'\r
   \r
@@ -32,7 +32,6 @@ class Pettanr.Views.SpeechBalloon.ElementFace extends Backbone.View
     this.$el.html('')\r
     symbol = new Pettanr.Views.SpeechBalloon.ElementSymbol({element: @element})\r
     this.$el.append(symbol.render().el)\r
-    rb = new Tag.RowBreak()\r
-    this.$el.append(rb.render().el)\r
+    @rb()\r
     this\r
   \r