Whitespace tweaks.
This commit is contained in:
parent
e197bc242f
commit
386ec26fb9
|
@ -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({
|
||||||
|
|
Loading…
Reference in New Issue