瀏覽代碼

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

bastien 13 年之前
父節點
當前提交
ea93ad05a5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/bundles/muzichcore/js/muzich.js

+ 1 - 1
web/bundles/muzichcore/js/muzich.js 查看文件

@@ -1110,7 +1110,7 @@ $(document).ready(function(){
1110 1110
     // On construit notre liste de tags
1111 1111
     tags_ids = new Array();
1112 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 1114
       tags_ids[id] = id;
1115 1115
     });
1116 1116