Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (var i = 0; i < this.buttonClick.length; i++) {
- this.buttonClick.onclick[i] = () => {
- if (this.modalBlock.classList.contains(this.currentClass + '--active-js') == false) {
- this.modalBlock.classList.add(this.currentClass + '--active-js');
- this.body.style.overflow = 'hidden';
- }
- }
- }
Add Comment
Please, Sign In to add comment