Skip to content

Commit 4adbca6

Browse files
committed
[bug] fix greeting not chaning when time changes to mid day or night
1 parent 392ea4b commit 4adbca6

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

‎js/greeting.js‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
vargreeting=(function(){
22

3+
varbind=function(){
4+
window.setInterval(function(){
5+
clear();
6+
render();
7+
},1000);
8+
};
9+
310
varclear=function(){
411
vargreeting=helper.e(".greeting");
512
while(greeting.lastChild){
@@ -51,6 +58,7 @@ var greeting = (function(){
5158
};
5259

5360
varinit=function(){
61+
bind();
5462
render();
5563
};
5664

‎js/version.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
varversion=(function(){
22

33
// version is normally bumped when the state needs changing or any new functionality is added
4-
varcurrent="2.12.1";
4+
varcurrent="2.12.2";
55

66
varcompare=function(a,b){
77
varpa=a.split(".");

0 commit comments

Comments
(0)