melawy-en-site/public/assets/js/offcanvas.js

8 lines
192 B
JavaScript
Raw Permalink Normal View History

2023-11-26 13:07:44 +05:00
(() => {
'use strict'
document.querySelector('#navbarSideCollapse').addEventListener('click', () => {
document.querySelector('.offcanvas-collapse').classList.toggle('open')
})
})()