OSDN Git Service

fix: view
[pettanr/pettanr.git] / app / assets / javascripts / views / speech_balloons / summary.js.coffee
index a5323c6..098f5ea 100644 (file)
@@ -14,14 +14,16 @@ class Pettanr.Views.SpeechBalloon.Summary extends Pettanr.View.Summary
         })\r
         @panel.get_parent('author', this, {\r
           success: (@author) =>\r
-            @author_faced_label = @author.mini_faced_label({\r
-              context: this, \r
-              click: () =>\r
-                @trigger('http_get', @author.show_url())\r
+            @author_faced_label_button = @author.mini_faced_label_button({\r
+                shorten: true\r
+              }, {\r
+                context: this, \r
+                click: () =>\r
+                  @trigger('http_get', @author.show_url())\r
             })\r
             this.$el.html('')\r
             this.$el.append(@panel_face_button.render().el)\r
-            this.$el.append(@author_faced_label.render().el)\r
+            this.$el.append(@author_faced_label_button.render().el)\r
         })\r
     })\r
     this\r