Fixed _inteval ID not being stored

This commit is contained in:
Felipe Martín 2016-02-21 11:06:33 +01:00
parent 1070d765ed
commit a5eb0ad57b
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ CCCloud.Notifications.quickNotify = function(content) {
CCCloud.Interval = {};
CCCloud.Interval.start = function() {
if (CCCloud.State._interval) CCCloud.State.stop();
setInterval(function() { CCCloud.Interval.run() }, CCCloud.Config.interval*1000)
CCCloud.Sate._interval = setInterval(function() { CCCloud.Interval.run() }, CCCloud.Config.interval*1000)
};
CCCloud.Interval.stop = function() {