Skip to content

Commit

Permalink
Fix phpcs indentation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
goldenapples committed Sep 5, 2017
1 parent 35a00af commit f3b1a4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inc/class-shortcode-ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ public function action_admin_enqueue_scripts( $editor_supports ) {
);

if ( 'select2' !== self::$select2_handle ) {
wp_add_inline_script( self::$select2_handle, 'var existingSelect2 = jQuery.fn.select2 || null; if (existingSelect2) { delete jQuery.fn.select2; }', 'before' );
wp_add_inline_script( self::$select2_handle, 'jQuery.fn[ shortcodeUIData.select2_handle ] = jQuery.fn.select2; if (existingSelect2) { delete jQuery.fn.select2; jQuery.fn.select2 = existingSelect2; }', 'after' );
wp_add_inline_script( self::$select2_handle, 'var existingSelect2 = jQuery.fn.select2 || null; if (existingSelect2) { delete jQuery.fn.select2; }', 'before' );
wp_add_inline_script( self::$select2_handle, 'jQuery.fn[ shortcodeUIData.select2_handle ] = jQuery.fn.select2; if (existingSelect2) { delete jQuery.fn.select2; jQuery.fn.select2 = existingSelect2; }', 'after' );
}

wp_register_style( self::$select2_handle,
Expand Down

0 comments on commit f3b1a4d

Please sign in to comment.