Key price check fix
This commit is contained in:
		
							parent
							
								
									71ceaeb5b8
								
							
						
					
					
						commit
						baf9b3921d
					
				@ -109,7 +109,10 @@ function handleHTML(steam_id, steam_name, html_string) {
 | 
			
		||||
    inventory.append('<a href="https://next.backpack.tf/profiles/' + steam_id + '"><h3>' + steam_name + '</h3></a>');
 | 
			
		||||
    decaled_items.each(function () {
 | 
			
		||||
        var parent = $(this).parent();
 | 
			
		||||
        if (parent.hasClass('q-440-11') || parent.hasClass('nocraft') ||  parent.attr('data-listing_price').includes('keys')) {
 | 
			
		||||
        var is_strange = parent.hasClass('q-440-11');
 | 
			
		||||
        var is_uncraftable = parent.hasClass('nocraft');
 | 
			
		||||
        var is_price_in_keys = $('.bottom-right span', parent).text().includes('key');
 | 
			
		||||
        if (is_strange || is_uncraftable || is_price_in_keys) {
 | 
			
		||||
            filtered_item_count++;
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user