Commit 6c710d7f authored by Nikolay Gromov's avatar Nikolay Gromov

багфикс для off-canvas

parent d56b1df7
document.addEventListener('click', function(event) {
event.preventDefault();
if(event.target.dataset.toggle === 'off-canvas') {
event.preventDefault();
document.getElementById('off-canvas').classList.toggle('off-canvas--open');
}
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment