OSDN Git Service

fix profiler
[pettanr/pettanr.git] / app / assets / javascripts / models / ground_picture.js.coffee
index 2f112d4..86d8151 100644 (file)
@@ -37,7 +37,7 @@ class Pettanr.GroundPicture extends Peta.Element
     r\r
   \r
   tmb_opt_img_tag: (picture) ->\r
-    wh = Pettanr.Imager.thumbnail_size(picture().get('width'), picture().get('height'))\r
+    wh = Pettanr.Imager.thumbnail_size(picture.get('width'), picture.get('height'))\r
     new Pettanr.AppHelperImg({src: picture.r_url(), size: Math.abs(wh[0]), alt: @get('caption')})\r
   \r
   symbol_option: (cb) ->\r