Refactor workflows (#835)

Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
Emruz Hossain 2023-11-21 14:42:39 +06:00 committed by GitHub
parent e5230e8c93
commit 93fc487111
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 4384 additions and 440 deletions

View file

@ -24,7 +24,7 @@ function toggleCourseVisibility (elem) {
window.addEventListener('DOMContentLoaded', () => {
const els = Array.from(document.getElementsByClassName('btn'));
els.filter((el) => el != null && (el.id == 'show-more-btn' || el.id == 'show-less-btn')).forEach((el) =>
els.filter((el) => el != null && (el.id === 'show-more-btn' || el.id === 'show-less-btn')).forEach((el) =>
el.addEventListener('click', ({ target }) =>
toggleCourseVisibility(target)))
})