Commit 040c92b7be2eba2a7925fc98a1c36ecb72c810f1

Authored by Yarik
1 parent a89c2550

Price filter fix

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
frontend/web/js/script.js
@@ -348,8 +348,9 @@ $(function() { @@ -348,8 +348,9 @@ $(function() {
348 console.log(max, min); 348 console.log(max, min);
349 var href = window.location.href; 349 var href = window.location.href;
350 var question = href.indexOf('?'); 350 var question = href.indexOf('?');
  351 + var queryString = '';
351 if (question !== -1) { 352 if (question !== -1) {
352 - var queryString = href.substr(question); 353 + queryString = href.substr(question);
353 href = href.substr(0, question); 354 href = href.substr(0, question);
354 } 355 }
355 var count = 0; 356 var count = 0;