()
| 225 | } |
| 226 | let rushSuccess = false; |
| 227 | function replySuccess() { |
| 228 | rushSuccess = true; |
| 229 | lastReplyTime = Date.now(); |
| 230 | $.cookie('lastReplyTime', lastReplyTime, { expires: 7, path: '/' }); |
| 231 | if (isCheckIn) { |
| 232 | $.cookie('lastSignDate', currentDate, { expires: 7, path: '/' }); |
| 233 | } |
| 234 | submitBtn.val("提 交"); |
| 235 | quickReply.val("回复成功"); |
| 236 | quickReply.css("background", "yellow"); |
| 237 | $("form td.h").css("background", "yellow"); |
| 238 | setTimeout(() => { |
| 239 | setCountdown(); |
| 240 | $("form td.h").css("background", ""); |
| 241 | }, 2000); |
| 242 | } |
| 243 | function isRushTime() { |
| 244 | var date = new Date(); |
| 245 | var year = date.getFullYear(); |
no test coverage detected