Rewrite session check component in vanilla js

This commit is contained in:
Frederic Guillot
2016-12-10 13:05:35 -05:00
parent c0049ed7e6
commit 90c9e86461
4 changed files with 16 additions and 23 deletions

View File

@@ -88,3 +88,7 @@ KB.render = function () {
}
}
};
KB.interval = function (seconds, callback) {
setInterval(callback, seconds * 1000);
};