OSDN Git Service

fix:panel elm play
[pettanr/pettanr.git] / app / assets / javascripts / views / panel_pictures / show.js.coffee
index fd13938..f539a5d 100644 (file)
@@ -7,7 +7,7 @@ class Pettanr.Views.PanelPicture.Show extends Pettanr.View.Show
     this.$el.html('')\r
     @item.get_parent('panel', this, {\r
       success: (item) =>\r
-        @panel = item.with_elements()\r
+        @panel = item.play()\r
         @panel.fetch().done =>\r
           @panel.attributes = @panel.decoded_attributes()\r
           @authored_by = @panel.authored_by()\r