OSDN Git Service

fix: any
[pettanr/pettanr.git] / app / assets / javascripts / views / history.js.coffee
index 843c93e..7e31579 100644 (file)
@@ -116,8 +116,7 @@ class Pettanr.Views.History.Root extends Pettanr.View
   tagName: 'div'\r
   \r
   initialize: (options) ->\r
-    image = new Pettanr.ImageFile(Pettanr.View.Image.icon_root_file())\r
-    icon = new Pettanr.View.Icon(image)\r
+    icon = new Pettanr.View.Minicon(Pettanr.View.Image.icon_root_file())\r
     @button = new Pettanr.View.Button('/', icon.render().el, {\r
       context: this,\r
       click: () =>\r