public/html/js/classes.js
// launched when user types something in the filter input area above the tag list
launched when user types something in the filter input area above the tag list
launched when user types something in the filter input area above the tag list
function filterTagList(search){
            var reg = new RegExp(search, 'gi');
            $('.category').each(function(i, category){
                if (!reg.exec(category.attributes['data-name'].nodeValue)) {
                    category.className = 'category hidden';
                } else {
                    category.className = 'category';
                }
            });
        }
function filterTagList ( search ) { var reg = new RegExp ( search , 'gi' ) ; $ ( '.category' ) . each ( function ( i , category ) { if ( ! reg . exec ( category . attributes [ 'data-name' ] . nodeValue ) ) { category . className = 'category hidden' ; } else { category . className = 'category' ; } } ) ; }
launched when user types something in the filter input area above the tag list
launched when user types something in the filter input area above the tag list