dap commit: Fix typo in the example.

changeset:   532:fd30ea97e342
user:        Anssi Kostiainen <anssi.kostiainen@intel.com>
date:        Mon Jun 09 16:21:15 2014 +0300
files:       battery/Overview.src.html
description:
Fix typo in the example.


diff -r 57772f10b4d9 -r fd30ea97e342 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;
               }

Received on Monday, 9 June 2014 13:25:33 UTC