Whitespace tweaks.

This commit is contained in:
George Stephanis 2015-08-08 10:57:22 -04:00
parent e197bc242f
commit 386ec26fb9
1 changed files with 4 additions and 4 deletions

View File

@ -6,10 +6,10 @@
(function($, data, wp){ (function($, data, wp){
$(function() { $(function() {
var rowTemplate = wp.template( 'wc-tax-table-row' ), var rowTemplate = wp.template( 'wc-tax-table-row' ),
paginationTemplate = wp.template( 'wc-tax-table-pagination' ), paginationTemplate = wp.template( 'wc-tax-table-pagination' ),
$tbody = $('#rates' ), $tbody = $( '#rates' ),
$pagination = $( '#rates-pagination' ); $pagination = $( '#rates-pagination' );
/** /**
* Build the table contents. * Build the table contents.
@ -22,7 +22,7 @@
// Populate $tbody with the current page of results. // Populate $tbody with the current page of results.
$.each( rates, function ( id, rowData ) { $.each( rates, function ( id, rowData ) {
$tbody.append( rowTemplate( rowData ) ); $tbody.append( rowTemplate( rowData ) );
} ); });
// Initialize autocomplete for countries. // Initialize autocomplete for countries.
$tbody.find( 'td.country input' ).autocomplete({ $tbody.find( 'td.country input' ).autocomplete({