php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용

This commit is contained in:
thisgun
2021-01-04 15:39:15 +09:00
parent 131b170b54
commit 27e9af5e42
1009 changed files with 12120 additions and 10849 deletions

View File

@ -491,8 +491,11 @@ $(function(){
$('#slide-counter .current-index').text(newIndex + 1);
}
});
$('#slide-counter').append('<span class="total-slides">'+slider.getSlideCount()+'</span>');
try {
$('#slide-counter').append('<span class="total-slides">'+slider.getSlideCount()+'</span>');
} catch (error) {
}
$('a.pager-prev').click(function () {
var current = slider.getCurrentSlide();
@ -555,7 +558,7 @@ function fsubmit_check(f)
return false;
}
if($(".sit_opt_list").size() < 1) {
if($(".sit_opt_list").length < 1) {
alert("상품의 선택옵션을 선택해 주십시오.");
return false;
}
@ -627,7 +630,7 @@ function fitem_submit(f)
return false;
}
if($(".sit_opt_list").size() < 1) {
if($(".sit_opt_list").length < 1) {
alert("상품의 선택옵션을 선택해 주십시오.");
return false;
}