This commit is contained in:
haoouba
2021-02-15 13:37:39 +08:00
parent a584edd880
commit 9e737b672b
5 changed files with 10 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@@ -407,9 +407,9 @@ html {
padding-bottom: 10px;
> .item {
padding: 5px 0;
.run {
margin: 0;
}
}
.run {
margin: 0;
}
}
}

View File

@@ -430,7 +430,8 @@ document.addEventListener('DOMContentLoaded', () => {
$('.joe_run__minute').html(minute)
$('.joe_run__second').html(second)
}
if (Joe.BIRTHDAY) {
if (Joe.BIRTHDAY && /(\d{4})\/(\d{1,2})\/(\d{1,2}) (\d{1,2})\:(\d{1,2})\:(\d{1,2})/.test(Joe.BIRTHDAY)) {
console.log(1);
getRunTime()
setInterval(getRunTime, 1000)
}