golden hour
/var/www/html/wp-content/plugins/js_composer/assets/js/frontend_editor/shortcodes/charts
⬆️ Go Up
Upload
File/Folder
Size
Actions
vc_line_chart.js
955 B
Del
OK
vc_pie.js
773 B
Del
OK
vc_round_chart.js
962 B
Del
OK
Edit: vc_pie.js
(function ( $ ) { 'use strict'; window.InlineShortcodeView_vc_pie = window.InlineShortcodeView.extend( { render: function () { _.bindAll( this, 'parentChanged' ); window.InlineShortcodeView_vc_pie.__super__.render.call( this ); this.unbindResize(); vc.frame_window.vc_iframe.addActivity( function () { this.vc_iframe.vc_pieChart(); } ); return this; }, unbindResize: function () { vc.frame_window.jQuery( vc.frame_window ).off( 'resize.vcPieChartEditable' ); }, parentChanged: function () { this.$el.find( '.vc_pie_chart' ).removeClass( 'vc_ready' ); vc.frame_window.vc_pieChart(); }, rowsColumnsConverted: function () { window.setTimeout( this.parentChanged, 200 ); this.parentChanged(); } } ); })( window.jQuery );
Save