From c128e4f826ed31ed31b9dd9ebd5b4e2548510034 Mon Sep 17 00:00:00 2001 From: George Stephanis Date: Fri, 7 Aug 2015 11:41:59 -0400 Subject: [PATCH] Change variable name to consistent `$tbody` --- assets/js/admin/settings-views-html-settings-tax.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);