golden hour
/var/www/html/wp-content/plugins/js_composer/assets/js/frontend_editor/shortcodes/grids
⬆️ Go Up
Upload
File/Folder
Size
Actions
vc_basic_grid.js
911 B
Del
OK
vc_masonry_grid.js
133 B
Del
OK
vc_masonry_media_grid.js
139 B
Del
OK
vc_media_grid.js
131 B
Del
OK
Edit: vc_basic_grid.js
(function () { 'use strict'; window.InlineShortcodeView_vc_basic_grid = vc.shortcode_view.extend( { render: function ( e ) { window.InlineShortcodeView_vc_basic_grid.__super__.render.call( this, e ); this.initGridJs( true ); return this; }, parentChanged: function () { window.InlineShortcodeView_vc_basic_grid.__super__.parentChanged.call( this ); this.initGridJs(); }, initGridJs: function ( useAddActivity ) { var model = this.model; if ( true === model.get( 'grid_activity' ) ) { return false; } model.set( 'grid_activity', true ); if ( true === useAddActivity ) { vc.frame_window.vc_iframe.addActivity( function () { this.vc_iframe.gridInit( model.get( 'id' ) ); model.set( 'grid_activity', false ); } ); } else { vc.frame_window.vc_iframe.gridInit( model.get( 'id' ) ); model.set( 'grid_activity', false ); } } } ); })();
Save