Your IP : 216.73.217.94


Current Path : /home2/noxxprod/public_html/wp-content/plugins/cookie-notice/js/
Upload File :
Current File : //home2/noxxprod/public_html/wp-content/plugins/cookie-notice/js/admin-dashboard.js

( 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 );