OSDN Git Service

fix:
[pettanr/pettanr.git] / app / assets / javascripts / views / speech_balloons / element_face.js.coffee
index 9958886..319ec35 100644 (file)
@@ -11,8 +11,8 @@ class Pettanr.Views.SpeechBalloon.ElementSymbol extends Pettanr.View
       success: (@speech_balloon_template) =>\r
         @speech_balloon_template.get_parent('system_picture', this, {\r
           success: (@system_picture) =>\r
-            img = @system_picture.tmb_opt_img_tag()\r
-            this.$el.html(img.render().el)\r
+            icon = new Pettanr.View.Icon(@system_picture.symbol_file())\r
+            this.$el.html(icon.render().el)\r
         })\r
     })\r
     this\r