diff --git a/scripts/explorer.js b/scripts/explorer.js index cfb5d5a..41543f8 100644 --- a/scripts/explorer.js +++ b/scripts/explorer.js @@ -239,11 +239,11 @@ jQuery(document).ready(function($) { $('.box.tags .item-cont').delegate('select[name="tag"]', 'change', function() { - paramTag = []; // collect all tags from all dropdowns + params.tag = []; // collect all tags from all dropdowns $('.box.tags .item-cont select[name="tag"]').each(function() { - if (paramTag.indexOf(this.value) === -1 && this.value != "") - paramTag.push(this.value); + if (params.tag.indexOf(this.value) === -1 && this.value != "") + params.tag.push(this.value); }); if (this.value != "") @@ -257,7 +257,7 @@ jQuery(document).ready(function($) if (createNewElem) { html = '※ ';