author | Anssi Kostiainen <anssi.kostiainen@intel.com> |
Mon, 09 Jun 2014 16:21:15 +0300 | |
changeset 532 | fd30ea97e342 |
parent 531 | 57772f10b4d9 |
child 533 | 65ff0151a2e5 |
battery/Overview.src.html |
--- a/battery/Overview.src.html Mon Jun 09 16:20:29 2014 +0300 +++ b/battery/Overview.src.html Mon Jun 09 16:21:15 2014 +0300 @@ -152,7 +152,7 @@ setTimer: function (interval) { if (interval === mail.interval) { return; } - if (mail.timer !== 0) { clearTimeout(mail.timer); } + if (mail.timer !== 0) { clearInterval(mail.timer); } if (interval) { mail.timer = setInterval(function () { mail.check(); }, interval); } mail.interval = interval; }