--- favorite_nodes.module.orig	2008-05-01 13:08:59.000000000 +0200
+++ favorite_nodes.module	2008-05-01 13:26:32.000000000 +0200
@@ -268,12 +268,12 @@
     if (variable_get(FAVORITE_NODES_NODE_TYPE . $node->type, 0)) {
       if (user_access(FAVORITE_NODES_PERM_ADD)) {
         if (!_favorite_nodes_check($node->nid)) {
-          $links[] = array('title' => t('add to favorites'), 'href' => 'favorite_nodes/add/'. $node->nid);
+          $links[] = array('title' => t('add to favorites'), 'href' => 'favorite_nodes/add/'. $node->nid, 'attributes' => array('class' => 'favorites add'));
         }
         else {
           if (user_access(FAVORITE_NODES_PERM_VIEW)) {
             $links[] = array('title' => t('in favorites'));
-            $links[] = array('title' => t('remove from favorites'), 'href' => 'favorite_nodes/delete/'. $node->nid);
+            $links[] = array('title' => t('remove from favorites'), 'href' => 'favorite_nodes/delete/'. $node->nid, 'attributes' => array('class' => 'favorites remove'));
           }
         }
       }
