Difference between revisions of "Team:Pasteur Paris/test"

Line 85: Line 85:
 
     var filters = $("#select-chosen").chosen().val();
 
     var filters = $("#select-chosen").chosen().val();
 
     //If no filters set, show everything
 
     //If no filters set, show everything
     if(filters.length==0){
+
     //if(filters.length==0){
       alert('test');
+
       //alert('test');
       showALL();
+
       //showALL();
     }
+
     //}
     else{
+
     //else{
 
       for (var filter in filters) {
 
       for (var filter in filters) {
 
           //Select all elements with class with filter
 
           //Select all elements with class with filter
Line 99: Line 99:
 
           }
 
           }
 
       }
 
       }
     }
+
     //}
 
});
 
});
 
</script>
 
</script>

Revision as of 11:57, 17 July 2015

Notebook

Search for a content: