|
|
@@ -118,15 +118,15 @@ var ToC = function ToC(categories, products) {
|
|
|
}, dom("h2", {
|
|
|
className: "pagebreak"
|
|
|
}, "Indice"), dom("div", {
|
|
|
- class: "col s8"
|
|
|
+ className: ""
|
|
|
}, categories.map(function (category, i) {
|
|
|
return dom("div", null, dom("div", null, dom("a", {
|
|
|
href: "#".concat(category[TAG])
|
|
|
}, dom("h5", null, category[LABEL], " ", dom("i", {
|
|
|
className: "material-icons"
|
|
|
- }, "chevron_right")))), products[category[LABEL]].map(function (product) {
|
|
|
- return dom("div", null, product.name);
|
|
|
- }));
|
|
|
+ }, "chevron_right")))), dom("div", null, products[category[LABEL]].map(function (product) {
|
|
|
+ return Tag(product.name, null, 'toc-tag');
|
|
|
+ })));
|
|
|
})));
|
|
|
};
|
|
|
|