File "admin-dashboard.js"
Full Path: /home/refref/public_html/csv-importer/wordfence/plugins/cookie-notice/js/admin-dashboard.js
File size: 406 bytes
MIME-type: text/plain
Charset: utf-8
( function( $ ) {
// ready event
$( function() {
// get charts
var charts = cnDashboardArgs.charts;
if ( Object.entries( charts ).length > 0 ) {
for ( const [key, config] of Object.entries( charts ) ) {
// create canvas
var canvas = document.getElementById( 'cn-' + key + '-chart' );
if ( canvas )
new Chart( canvas, config );
}
}
} );
} )( jQuery );