[bug] fix greeting not chaning when time changes to mid day or night

This commit is contained in:
Kuldeep M 2019-04-02 12:23:18 +01:00
parent 392ea4b3a7
commit 4adbca69e4
2 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,12 @@
var greeting = (function() {
var bind = function() {
window.setInterval(function() {
clear();
render();
}, 1000);
};
var clear = function() {
var greeting = helper.e(".greeting");
while (greeting.lastChild) {
@ -51,6 +58,7 @@ var greeting = (function() {
};
var init = function() {
bind();
render();
};

View File

@ -1,7 +1,7 @@
var version = (function() {
// version is normally bumped when the state needs changing or any new functionality is added
var current = "2.12.1";
var current = "2.12.2";
var compare = function(a, b) {
var pa = a.split(".");