PageSourceSearch

https://curecoin.net/wp-content/plugins/mycred/addons/badges/assets/js/front.js?ver=1.3

js curecoin.net collected 2026-09-25 20:16:37 UTC 1,065 bytes, 33 lines download raw bytes

1jQuery(document).ready(function(){
2
3    //Badges Search Filter
4    jQuery("#mycerd-badges-search").on("keyup", function() {
5        var value = jQuery(this).val().toLowerCase();
6        jQuery(".mycred-badges-list .mycred-badges-list-item").filter(function() {
7            jQuery(this).toggle(jQuery(this).text().toLowerCase().indexOf(value) > -1)
8        });
9    });
10
11    //Show Achieved Badges
12    jQuery(document).on( 'click', '.mycred-achieved-badge-btn', function(e){
13        e.preventDefault();
14        jQuery('.not-earned').hide();
15        jQuery('.earned').show();
16    });
17
18    //Show Not Achieved Badges
19    jQuery(document).on( 'click', '.mycred-not-achieved-badge-btn', function(e){
20        e.preventDefault();
21        jQuery('.earned').hide();
22        jQuery('.not-earned').show();
23    });
24
25    //Clear Filter Button
26    jQuery(document).on( 'click', '.mycred-clear-filter-btn', function(e){
27        e.preventDefault()
28        jQuery('.earned').show();
29        jQuery('.not-earned').show();
30        jQuery('#mycerd-badges-search').val('');
31    } )
32});
33

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.