PageSourceSearch

https://turnitoff.nl/wp-content/themes/rehub-theme/js/tablechart.js?ver=1.9

js turnitoff.nl collected 2026-10-08 13:30:30 UTC 2,322 bytes, 53 lines download raw bytes

1//CHARTS
2var table_charts_rehub = function() {
3    if(jQuery('.table_view_charts').length > 0){
4        jQuery('.table_view_charts').each(function(index){
5            var rowcount = jQuery(this).find('.top_chart_row_found').data('rowcount');
6            for (var rowcountindex = 0; rowcountindex < rowcount; rowcountindex++) {
7                 //Equal height for each row
8                 var heightArray = jQuery(this).find('li.row_chart_'+ rowcountindex +'').map( function(){
9                    return  jQuery(this).height();
10                 }).get();
11                 var maxHeight = Math.max.apply( Math, heightArray);
12                 jQuery(this).find('li.row_chart_'+ rowcountindex +'').height(maxHeight);
13
14                 //Find differences
15                 var recomparecolvalue;
16                 jQuery(this).find('.top_chart_wrap li.row_chart_'+ rowcountindex +'').each(function(n) {
17                    if (jQuery(this).html() != recomparecolvalue && n > 0) {
18                       jQuery(this).closest('.table_view_charts').find('li.row_chart_'+ rowcountindex +'').addClass('row-is-different');
19                    }
20                    else {
21                       recomparecolvalue = jQuery(this).html();
22                    }
23                 });
24            }
25            var carheight = jQuery(this).find('.top_chart_first').height();
26            jQuery(this).find('.caroufredsel_wrapper').height(carheight+2);
27        });
28    }
29}
30
31jQuery(document).ready(function($) {
32	"use strict";
33
34    $('.table_view_charts').on('click', '.re-compare-show-diff', function(e){
35        if ($(this).is(':checked')){
36            $(this).closest('.table_view_charts').find('li[class^="row_chart"]').filter(':not(.heading_row_chart)').filter(':not(.row-is-different)').addClass('low-opacity');
37        } 
38        else {
39            $(this).closest('.table_view_charts').find('li[class^="row_chart"]').filter(':not(.heading_row_chart)').filter(':not(.row-is-different)').removeClass('low-opacity');
40        }     
41    }); 
42
43});
44
45jQuery(document).ready(function($) {
46    table_charts_rehub();
47   if(jQuery(".table_view_charts").length > 0){
48        jQuery(".table_view_charts").each(function() {
49            jQuery(this).removeClass('loading');
50        });
51    };
52
53});

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.