Skip to content

Commit

Permalink
Some spacing issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Feb 15, 2015
1 parent 5338226 commit 1ea6b9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/CMB2_Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ public function save_field( $data_to_save ) {
// }
// }
// } else
if ( ! cmb2_utils()->isempty( $new_value ) && $new_value !== $old ) {
if ( ! cmb2_utils()->isempty( $new_value ) && $new_value !== $old ) {
return $this->update_data( $new_value );
} elseif ( cmb2_utils()->isempty( $new_value ) ) {
return $this->remove_data();
Expand Down
2 changes: 1 addition & 1 deletion js/cmb2.js
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ window.CMB2 = (function(window, document, $, undefined){

cmb.afterRowInsert( $newRow, true );

if ( $table.find('.cmb-repeatable-grouping').length <= 1 ) {
if ( $table.find('.cmb-repeatable-grouping').length <= 1 ) {
$table.find('.cmb-remove-group-row').prop( 'disabled', true );
} else {
$table.find('.cmb-remove-group-row').prop( 'disabled', false );
Expand Down

0 comments on commit 1ea6b9e

Please sign in to comment.