X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fassets%2Fjavascripts%2Fmodels%2Fpicture.js.coffee;h=c7f0f6d21ef55586571f01253e05e6ff51d7ec16;hb=8c860bbc3faaff8c7a458b28f1cac7e30ff490df;hp=4fe1f71fc337ae164eb2cb0c5ef135b27e0c0621;hpb=bb97922e3c1f43e4af22fc8a7c8ebd202e64be82;p=pettanr%2Fpettanr.git diff --git a/app/assets/javascripts/models/picture.js.coffee b/app/assets/javascripts/models/picture.js.coffee index 4fe1f71f..c7f0f6d2 100644 --- a/app/assets/javascripts/models/picture.js.coffee +++ b/app/assets/javascripts/models/picture.js.coffee @@ -83,8 +83,8 @@ class Pettanr.Picture extends Peta.Content credit_icon_view: () -> new Pettanr.Views.Picture.CreditIcon({item: this}) - credit_view: () -> - new Pettanr.Views.Picture.Credit({item: this}) + credit_view: (with_icon = true) -> + new Pettanr.Views.Picture.Credit({item: this, with_icon: with_icon}) initialize: () -> if @id