Browse Source

Anomalie #134: Filtre d'éléments par clic sur tags: erreur de variable (damned!)

bastien 13 years ago
parent
commit
ea93ad05a5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/bundles/muzichcore/js/muzich.js

+ 1 - 1
web/bundles/muzichcore/js/muzich.js View File

1110
     // On construit notre liste de tags
1110
     // On construit notre liste de tags
1111
     tags_ids = new Array();
1111
     tags_ids = new Array();
1112
     $('ul#favorite_tags a.tag.active').each(function(index){
1112
     $('ul#favorite_tags a.tag.active').each(function(index){
1113
-      id = str_replace('#', '', link.attr('href'));
1113
+      id = str_replace('#', '', $(this).attr('href'));
1114
       tags_ids[id] = id;
1114
       tags_ids[id] = id;
1115
     });
1115
     });
1116
     
1116