|
@@ -2140,7 +2140,7 @@ $(document).ready(() => {
|
|
|
if (getLocalCache('material_month_' + materialID) && !isStageSelf) {
|
|
|
const tab = $('.right-nav a[content="#month-tab"]'), tabPanel = $(tab.attr('content'));
|
|
|
$('a', '.side-menu').removeClass('active');
|
|
|
- $('.tab-content .tab-pane').removeClass('active');
|
|
|
+ $('#right-view .tab-content .tab-pane').removeClass('active');
|
|
|
tab.addClass('active');
|
|
|
tabPanel.addClass('active');
|
|
|
$('#right-view').width(getLocalCache('material_month_' + materialID) + '%');
|
|
@@ -2174,7 +2174,7 @@ $(document).ready(() => {
|
|
|
$('.sjs-material').height($('.sjs-height-1').height() - getObjHeight($('.sjs-bar')));
|
|
|
}
|
|
|
function getObjHeight(select) {
|
|
|
- return select.length > 0 ? select.height() : 0;
|
|
|
+ return select.length > 0 ? select.outerHeight() : 0;
|
|
|
}
|
|
|
|
|
|
function formatDate(numb, format) {
|