diff --git a/assets/js/admin/settings-views-html-settings-tax.js b/assets/js/admin/settings-views-html-settings-tax.js index defbbf1369a..b78559b79fa 100644 --- a/assets/js/admin/settings-views-html-settings-tax.js +++ b/assets/js/admin/settings-views-html-settings-tax.js @@ -4,12 +4,12 @@ (function($, data, wp){ var rowTemplate = wp.template( 'wc-tax-table-row' ), - $ratesTbody = $('#rates'); + $tbody = $('#rates'); $(function() { - $ratesTbody.innerHTML = ''; + $tbody.innerHTML = ''; $.each( data.rates, function ( id, rowData ) { - $ratesTbody.append( rowTemplate( rowData ) ); + $tbody.append( rowTemplate( rowData ) ); } ); }); })(jQuery, htmlSettingsTaxLocalizeScript, wp);