Index: arms/js/reqReview.js =================================================================== diff -u -rc8a55a1a64c643e528da4b380f393889e64c4c16 -r97968f994c782acc8f92465480809bd1a050c8d2 --- arms/js/reqReview.js (.../reqReview.js) (revision c8a55a1a64c643e528da4b380f393889e64c4c16) +++ arms/js/reqReview.js (.../reqReview.js) (revision 97968f994c782acc8f92465480809bd1a050c8d2) @@ -1,15 +1,3 @@ -// --- 사이드 메뉴 -- // -$(function () { - setSideMenu( - "sidebar_menu_requirement", - "sidebar_menu_requirement_review", - "requirement-elements-collapse" - ); - - makeTemplate("./js/reviewClassify.do", makeClassifyMenus); - makeTemplate("./js/reviewList.do", makeReviewList); -}); - const makeTemplate = function (url, bindTemplate) { getData(url).then((data) => bindTemplate(data)); }; @@ -61,6 +49,18 @@ return date.split("T")[0]; }; +// --- 사이드 메뉴 -- // +$(function () { + setSideMenu( + "sidebar_menu_requirement", + "sidebar_menu_requirement_review", + "requirement-elements-collapse" + ); + + makeTemplate("./js/reviewClassify.do", makeClassifyMenus); + makeTemplate("./js/reviewList.do", makeReviewList); +}); + // reviwe click $("#review-list").click(function (ev) { const row = ev.target.parentNode.dataset;