소스 검색

혈압 맥박수 입력 수정

huiwon.seo 4 년 전
부모
커밋
57c173aea7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/webapp/WEB-INF/jsp/mobile/health/health2.jsp

+ 1 - 1
src/main/webapp/WEB-INF/jsp/mobile/health/health2.jsp

@@ -108,7 +108,7 @@ $( function(){
             }
             
             if( bloodPressure.length > 0 && bloodPressure2.length > 0 ){
-                if( bloodPressure2 >= bloodPressure ) {
+                if( Number( bloodPressure2 ) >= Number( bloodPressure ) ) {
                     $( "div.error-msg" ).text( "수축기 혈압값은 이완기 혈압값 보다 높아야합니다 (The systolic blood pressure value must be higher than the diastolic blood pressure value)" );
                     flag = false;
                 }