Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Make category in refine update based on category in header

Cette révision appartient à :
kilo 2017-07-14 09:36:45 +02:00 révisé par ewhal
Parent 49e8a0b510
révision e92e306bdc

Voir le fichier

@ -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