Clean up spaces, tabs, indentation, and bracket formatting
This commit is contained in:
@@ -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" ) );
|
||||
}
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
});
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user