1 2function close_flexible_content(){ 3 jQuery('.layout').attr('data-toggle', 'closed'); 4// jQuery('.acf-input-table').css('display', 'none'); 5 jQuery('.layout .acf-input-table').css('display', 'none'); 6} 7 8function open_flexible_content(){ 9 jQuery('.layout').attr('data-toggle', 'open'); 10 jQuery('.acf-input-table').css('display', 'table'); 11} 12 13close_flexible_content(); 14 15 16jQuery('.field_type-flexible_content').prepend('<a class="toggle_flexible_content button button-small" style="float: right; margin-top: -8px;" href="#">Toggle Layout Boxes</a>') 17 18jQuery('body').on('click', '.toggle_flexible_content', function(event){ 19 event.preventDefault(); 20 $this = jQuery(this); 21 if( $this.data('toggle') == 'open' ){ 22 close_flexible_content(); 23 $this.data('toggle', ''); 24 } else { 25 open_flexible_content(); 26 $this.data('toggle', 'open'); 27 } 28}); 29 30 31//alert('x');
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.