Refactor workflows (#835)
Signed-off-by: hossainemruz <hossainemruz@gmail.com>
This commit is contained in:
parent
e5230e8c93
commit
93fc487111
14 changed files with 4384 additions and 440 deletions
|
@ -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)))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue