diff --git a/lib/jsduck/tree_icons.rb b/lib/jsduck/tree_icons.rb index 062304d62526bc83a6f159c907339ca90a511544..2aca51a70b784e3966b8a69d93bd5808d509343f 100644 --- a/lib/jsduck/tree_icons.rb +++ b/lib/jsduck/tree_icons.rb @@ -10,7 +10,7 @@ module JsDuck icons.merge!(extract_icons(child)) end else - icons[node[:id]] = node[:iconCls] + icons[node[:clsName]] = node[:iconCls] end icons end