Clean up spaces, tabs, indentation, and bracket formatting

This commit is contained in:
Brian Miyaji
2021-11-10 15:41:40 +09:00
parent e58beb1201
commit 3dff686a00
285 changed files with 29638 additions and 24147 deletions

View File

@@ -1,11 +1,18 @@
jQuery(document).ready(function($){
jQuery( document ).ready(
function($){
// Dashboard countdown
$("#sportspress_dashboard_status .sp_status_list li.countdown").each(function() {
var $this = $(this), finalDate = $(this).data('countdown');
$this.countdown(finalDate, function(event) {
$this.find('strong').html(event.strftime("%D "+localized_strings.days+" %H:%M:%S"));
});
});
// Dashboard countdown
$( "#sportspress_dashboard_status .sp_status_list li.countdown" ).each(
function() {
var $this = $( this ), finalDate = $( this ).data( 'countdown' );
$this.countdown(
finalDate,
function(event) {
$this.find( 'strong' ).html( event.strftime( "%D " + localized_strings.days + " %H:%M:%S" ) );
}
);
}
);
});
}
);