changes working

This commit is contained in:
akilan
2020-05-10 20:47:17 +04:00
parent 8c14650b51
commit 2fca76e753
154 changed files with 6271 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
window.addEventListener("resize", adjustListBorder);
let listRemoveWidth = window.matchMedia("(max-width: 1070px)");
let listAddWidth = window.matchMedia("(min-width: 1070px)");
function adjustListBorder(){
if (listRemoveWidth.matches) {
document.getElementById("articlesList").classList.remove("author-alc");
}
else if (listAddWidth.matches) {
document.getElementById("articlesList").classList.add("author-alc");
}
}