fix : 메인 탭의 닫기버튼 제거, 탭 닫기 버튼 위치 수정

main
이범준 2 years ago
parent a104167a41
commit a120032088

@ -16,6 +16,8 @@
background-size: 15px 15px;
width: 15px;
height: 15px;
margin-right: 5px;
margin-top: 5px;
cursor: hand;
background-position: right;
background-repeat: no-repeat;

@ -26,7 +26,13 @@ function openMenu(menuId, menuNm, menuUrl) {
}
const num_tabs = OPEN_TAB_CNT + 1;
const liEl = '<li id="li-'+ menuId +'" class="tab"><a href="#tab-'+ menuId + '">' + menuNm + '</a><span class="biz-tab-close" onclick="closeTab('+ menuId + ')"></span></li>';
let liEl = '<li id="li-'+ menuId +'" class="tab"><a href="#tab-'+ menuId + '">' + menuNm + '</a>';
if(menuId != "main"){
liEl += '<button class="biz-tab-close" onclick="closeTab('+ menuId + ')"></button>'
}
liEl += '</li>';
$('div#ifrTabs ul').append(liEl);
$('div#ifrTabs').append(

Loading…
Cancel
Save