includes/clientside/static/toolbar.js
changeset 420 301f546688d1
parent 128 01955bf53f96
child 582 a38876c0793c
--- a/includes/clientside/static/toolbar.js	Tue Feb 12 22:17:58 2008 -0500
+++ b/includes/clientside/static/toolbar.js	Wed Feb 13 21:59:07 2008 -0500
@@ -9,7 +9,7 @@
   {
     if(obj.id == 'mdgToolbar_article' || obj.id == 'mdgToolbar_discussion')
     {
-      $(obj).rmClass('selected');
+      $dynano(obj).rmClass('selected');
     }
     obj = obj.nextSibling;
   }
@@ -22,7 +22,7 @@
   obj = document.getElementById('pagebar_main').firstChild.nextSibling;
   while(obj)
   {
-    if ( !$(obj).hasClass('selected') )
+    if ( !$dynano(obj).hasClass('selected') )
     {
       obj = obj.nextSibling;
       continue;
@@ -30,7 +30,7 @@
     if(obj.id != 'mdgToolbar_article' && obj.id != 'mdgToolbar_discussion')
     {
       if ( obj.className )
-        $(obj).rmClass('selected');
+        $dynano(obj).rmClass('selected');
     }
     obj = obj.nextSibling;
   }
@@ -46,7 +46,7 @@
   if(typeof(dom) == 'object')
   {
     unselectAllButtonsMajor();
-    $('mdgToolbar_'+which).addClass('selected');
+    $dynano('mdgToolbar_'+which).addClass('selected');
   }
 }
 
@@ -57,7 +57,7 @@
   if(typeof(document.getElementById('mdgToolbar_'+which)) == 'object')
   {
     unselectAllButtonsMinor();
-    $('mdgToolbar_'+which).addClass('selected');
+    $dynano('mdgToolbar_'+which).addClass('selected');
   }
 }