OSDN Git Service

operator move to cache
[pettanr/pettanr.git] / app / assets / javascripts / models / resource_picture_picture.js.coffee
index 02a83a0..c04c9a4 100644 (file)
@@ -14,7 +14,7 @@ class Pettanr.ResourcePicturePicture extends Peta.Item
   picture: () ->\r
     new Pettanr.Picture({id: @get('picture_id')})\r
   \r
-  is_visible: (operators) ->\r
+  is_visible: (operators = Pettanr.cache.operators) ->\r
     true\r
   \r
   symbol_option: () ->\r