Make category in refine update based on category in header
Cette révision appartient à :
Parent
49e8a0b510
révision
e92e306bdc
1 fichiers modifiés avec 3 ajouts et 1 suppressions
|
@ -83,6 +83,8 @@ document.getElementsByClassName("form-input refine")[0].addEventListener("click"
|
|||
document.getElementsByClassName("box refine")[0].style.display = document.getElementsByClassName("box refine")[0].style.display == "none" ? "block" : "none";
|
||||
if(document.getElementsByClassName("form-input refine-searchbox")[0].value != document.getElementsByClassName("form-input search-box")[0].value)
|
||||
document.getElementsByClassName("form-input refine-searchbox")[0].value = document.getElementsByClassName("form-input search-box")[0].value;
|
||||
e.preventDefault();
|
||||
if(document.getElementsByClassName("form-input refine-category")[0].value != document.getElementsByClassName("form-input form-category")[0].value)
|
||||
document.getElementsByClassName("form-input refine-category")[0].value = document.getElementsByClassName("form-input form-category")[0].value;
|
||||
e.preventDefault();
|
||||
});
|
||||
// @license-end
|
||||
|
|
Référencer dans un nouveau ticket