eskim пре 5 година
родитељ
комит
04e2bf4559
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      src/main/webapp/WEB-INF/views/web/goods/GoodsDetailFormWeb.html

+ 4 - 0
src/main/webapp/WEB-INF/views/web/goods/GoodsDetailFormWeb.html

@@ -1529,6 +1529,10 @@
 					if (minutes < '10') { minutes = '0' + minutes; }
 					if (seconds < '10') { seconds = '0' + seconds; }
 					
+					if (Number(days) > 0 ){
+						hours = Number(hours) + (Number(days) * 24);
+					}
+					
 					$('#d-hours').html(hours);
 					$('#d-minutes').html(minutes);
 					$('#d-seconds').html(seconds);