diff --git a/app/abr-menu.js b/app/abr-menu.js index eb56d40..7173140 100644 --- a/app/abr-menu.js +++ b/app/abr-menu.js @@ -19,7 +19,7 @@ function getConfig (config, key) { return false; } -function preprocessTemplate (abrApp, element, config, abrWin, isRoot) { +function preprocessTemplate (abrApp, element, config, abrWin) { if (element.constructor !== Array) { return; } @@ -50,7 +50,7 @@ function preprocessTemplate (abrApp, element, config, abrWin, isRoot) { if (item.id === "exportHtml") { item.submenu = exportHtmlMenuGenerator(item.submenu, config); } - preprocessTemplate(abrApp, item.submenu, config, abrWin, false); + preprocessTemplate(abrApp, item.submenu, config, abrWin); } return item; }; @@ -58,10 +58,9 @@ function preprocessTemplate (abrApp, element, config, abrWin, isRoot) { for (var i=0; i