Commit 040c92b7be2eba2a7925fc98a1c36ecb72c810f1
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 | 348 | console.log(max, min); |
| 349 | 349 | var href = window.location.href; |
| 350 | 350 | var question = href.indexOf('?'); |
| 351 | + var queryString = ''; | |
| 351 | 352 | if (question !== -1) { |
| 352 | - var queryString = href.substr(question); | |
| 353 | + queryString = href.substr(question); | |
| 353 | 354 | href = href.substr(0, question); |
| 354 | 355 | } |
| 355 | 356 | var count = 0; | ... | ... |