issue #11 마이페이지 메시지 테이블 줄 벗어남 문제 수정. TV메뉴에서 키 채널 선택 후 채널 바로가기 빠르게 이동시 채널 바로가기 팝업 사라지지 않는 사항 수정.
This commit is contained in:
@@ -2612,7 +2612,7 @@ HotelTV.ui_appfull = (function() {
|
||||
});
|
||||
}
|
||||
} else if (_action == "down") {
|
||||
if ((_cur_idx + 1) > (_total_cnt - 1)) {
|
||||
if ((_cur_idx + 1) >= (_total_cnt - 1)) {
|
||||
_cur_idx = (_total_cnt - 1);
|
||||
} else {
|
||||
_cur_idx += 1;
|
||||
@@ -2621,8 +2621,9 @@ HotelTV.ui_appfull = (function() {
|
||||
$('.main>.mypage>.bg>.owl-carousel .owl-item #mp_msg_tblrec tr').filter("[msgidx='" + _cur_idx.toString() + "']").addClass('focus');
|
||||
_state.menu.main[_mmIdx]['message']['cur'] = _cur_idx;
|
||||
|
||||
if ((_cur_idx > 3) && (_cur_idx < (_total_cnt - 2))) {
|
||||
_el_target.stop().animate({ scrollTop: ((_cur_idx - 3) * 52).toString() }, 500, function() {
|
||||
//if ((_cur_idx > 3) && (_cur_idx < (_total_cnt - 2))) {
|
||||
if ( _cur_idx >= 3 ) {
|
||||
_el_target.stop().animate({ scrollTop: ((_cur_idx - 1) * 52).toString() }, 500, function() {
|
||||
console.log("SCROLL DONE>>>2");
|
||||
});
|
||||
}
|
||||
@@ -3130,7 +3131,7 @@ HotelTV.ui_appfull = (function() {
|
||||
__curMsgDspIdx = _state.menu.main[_mmIdx].message.cur;
|
||||
} else {
|
||||
_state.menu.main[_mmIdx]['message'] = {
|
||||
"cnt": Object.keys(_msg).length,
|
||||
"cnt": _msg.length,
|
||||
"cur": __curMsgDspIdx,
|
||||
"prev": null,
|
||||
}
|
||||
@@ -3527,6 +3528,13 @@ HotelTV.ui_appfull = (function() {
|
||||
} else {
|
||||
console.log("ERROR::> No centered Item");
|
||||
}
|
||||
|
||||
// Shortcut key 팝업 지우기
|
||||
// 채널 리스트에서 팝업을 빨리 띄우는 경우, 바로가기 팝업이 사라지지 않고 남아 있는 이슈 workaround
|
||||
let _elTvScutRoot = $('.main .tv .shortcut');
|
||||
if ( _elTvScutRoot.css('display') != 'none') {
|
||||
_elTvScutRoot.fadeOut(500);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user