메뉴 탭 닫기 함수 수정

main
이범준 11 months ago
parent f08ebaf191
commit 7e3075bcde

@ -172,11 +172,9 @@ function closeTab(menuId) {
} }
} }
document.getElementById("innerPage-"+menuId).remove(); document.getElementById("tab-"+menuId).remove();
delete innerPageMap[menuId];
$("#tab-" + activeIdx).remove();
$('#tabsForInnerPage').find('#li-'+menuId).remove(); $('#tabsForInnerPage').find('#li-'+menuId).remove();
delete innerPageMap[menuId];
} }
function id2Index(tabsId, srcId) { function id2Index(tabsId, srcId) {

Loading…
Cancel
Save