Open Canario0 opened 2 years ago
While trying to navigate with the arrows in the search bar of this theme, the following error triggers:
I think is has somithing to do with the following assigment:
Were offset is a const variable but will happend the same with the following ones:
Were all those variables are defined as const at:
You can change the variable definition from "const" to "let",
While trying to navigate with the arrows in the search bar of this theme, the following error triggers:![muk_issue](https://user-images.githubusercontent.com/18551747/133507827-7a908d38-a29a-4902-bbaa-7f0dbbf50e2d.png)
I think is has somithing to do with the following assigment: https://github.com/muk-it/muk_web/blob/05ccc049451dc933b5410fb4afbeb4c46cd05322/muk_web_theme/static/src/js/core/search.js#L101
Were offset is a const variable but will happend the same with the following ones: https://github.com/muk-it/muk_web/blob/05ccc049451dc933b5410fb4afbeb4c46cd05322/muk_web_theme/static/src/js/core/search.js#L104 https://github.com/muk-it/muk_web/blob/05ccc049451dc933b5410fb4afbeb4c46cd05322/muk_web_theme/static/src/js/core/search.js#L94
Were all those variables are defined as const at: https://github.com/muk-it/muk_web/blob/05ccc049451dc933b5410fb4afbeb4c46cd05322/muk_web_theme/static/src/js/core/search.js#L89 https://github.com/muk-it/muk_web/blob/05ccc049451dc933b5410fb4afbeb4c46cd05322/muk_web_theme/static/src/js/core/search.js#L90 https://github.com/muk-it/muk_web/blob/05ccc049451dc933b5410fb4afbeb4c46cd05322/muk_web_theme/static/src/js/core/search.js#L91