Skip to content

Commit

Permalink
Codestyle fixes VisualComposer#328
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytro-kovalov committed Jul 12, 2022
1 parent ff094e3 commit 67211f1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions js/customize-popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@

// Download fonts
$( document ).on( 'click', '#vct-popup-accept-button', function( e ) {
var $downloadBtn = $(this);
var $revertBtn = $downloadBtn.siblings('button');
var $spinner = $downloadBtn.parents('.vct-popup-buttons').siblings('.vct-spinner-wrapper');
var $downloadBtn = $( this );
var $revertBtn = $downloadBtn.siblings( 'button' );
var $spinner = $downloadBtn.parents( '.vct-popup-buttons' ).siblings( '.vct-spinner-wrapper' );

e && e.preventDefault && e.preventDefault();

Expand Down Expand Up @@ -122,8 +122,8 @@
wp.customize.previewer.save();
}

$downloadBtn.prop('disabled', false);
$revertBtn.prop('disabled', false);
$downloadBtn.prop( 'disabled', false );
$revertBtn.prop( 'disabled', false );
$spinner.hide();
} );
} else {
Expand Down

0 comments on commit 67211f1

Please sign in to comment.