[LON-CAPA-cvs] cvs: loncom /html/res/adm/pages menu.html

www lon-capa-cvs@mail.lon-capa.org
Fri, 24 May 2002 20:59:34 -0000


www		Fri May 24 16:59:34 2002 EDT

  Modified files:              
    /loncom/html/res/adm/pages	menu.html 
  Log:
  interesting clock for a few minutes ...
  
  
Index: loncom/html/res/adm/pages/menu.html
diff -u loncom/html/res/adm/pages/menu.html:1.56 loncom/html/res/adm/pages/menu.html:1.57
--- loncom/html/res/adm/pages/menu.html:1.56	Fri May 24 16:43:12 2002
+++ loncom/html/res/adm/pages/menu.html	Fri May 24 16:59:34 2002
@@ -4,7 +4,7 @@
 Remote Control
 
 //
-// $Id: menu.html,v 1.56 2002/05/24 20:43:12 www Exp $
+// $Id: menu.html,v 1.57 2002/05/24 20:59:34 www Exp $
 //
 // Copyright Michigan State University Board of Trustees
 //
@@ -108,7 +108,7 @@
     var secs=""+clock.getSeconds();
     if (secs.length<2) { secs="0"+secs; }
     var mins=""+clock.getMinutes();
-    if (mins.length<2) { mins="0"+secs; }
+    if (mins.length<2) { mins="0"+mins; }
     var hours=""+clock.getHours();
     if (hours.length<2) { hours=" "+hours; }
     statusbot=hours+':'+mins+':'+secs;