change show and hide to only remove or add class

هذا الالتزام موجود في:
Justin Colangelo
2022-08-03 14:50:26 -04:00
الأصل e7a4870a49
التزام 209fd39023

عرض الملف

@@ -617,11 +617,11 @@ function roomIsReady() {
}
function hide(elem) {
elem.className = 'hidden';
elem.classList.add('hidden');
}
function show(elem) {
elem.className = '';
elem.classList.remove('hidden');
}
function setColor(elem, color) {