OSDN Git Service

add panel viewer
[pettanr/pettanr.git] / app / assets / javascripts / peta / item.js.coffee
index 2d5391a..a166731 100644 (file)
@@ -117,7 +117,7 @@ class Peta.Item extends Backbone.Model
     _this = this\r
     c = @my_class().my_peta().boost\r
     _.each c, (boost_manifest, boost_name) ->\r
-      next if level == 'read' and boost_manifest.level == 'post'\r
+      return if level == 'read' and boost_manifest.level == 'post'\r
       _this.boost boost_manifest\r
   \r
   boost: (boost_manifest) ->\r