Skip to content

Commit

Permalink
Merge pull request #145 from codersaiful/3.0.3.0
Browse files Browse the repository at this point in the history
not Displaying all tag in mini filter has solved - item = item.trimSt…
  • Loading branch information
codersaiful authored Nov 10, 2021
2 parents 584a5df + 57efed1 commit e2f690f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assets/js/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -2002,6 +2002,7 @@
var temp_number = $(this).data('temp_number');
var config_json = getConfig_json( temp_number );
var key = $(this).data('key');
//console.log(key);
var label = $(this).data('label');
var taxArray = new Array();
var taxValArray = new Array();
Expand All @@ -2013,8 +2014,9 @@
tax = tax.replace(/\s/g, ' ');

tax = tax.split(',');

tax.forEach(function(item){
item = item.trimStart(" ");
console.log(item);
var taxDetails = item.split(':');
var taxID = taxDetails[0];
var taxValue = taxDetails[1];
Expand Down

0 comments on commit e2f690f

Please sign in to comment.