fix second calendar didn't show

This commit is contained in:
iFish 2014-11-26 18:52:33 +08:00
parent 8454aaedb1
commit 8423ff607f
3 changed files with 4 additions and 5 deletions

View File

@ -52,7 +52,7 @@ label {
body {
line-height: 1;
background-color: #f8f8f8;
background: url(../images/page-bg.png) repeat-x top left;
font: 14px Helvetica, Arial, "Microsoft Yahei", SimSun, sans-serif;
}

View File

@ -52,9 +52,8 @@
}
.search-box .search-tips {
height: 32px;
font-size: 14px;
line-height: 29px;
line-height: 30px;
color: #82572d;
padding-left: 34px;
}

View File

@ -65,7 +65,7 @@
dateDom.prop("data-month", getDateString(dayStart));
}
//判断当前的购买日期是否超过月底了,决定是否显示第二个日历
if (maxShowDay.getMonth() > now.getMonth()) {
if (maxShowDay.getMonth() !== now.getMonth()) {
dateDom.find(">.month-second").show();
} else {
dateDom.find(">.month-second").hide();