E
E
Egor2020-06-11 10:16:07
css
Egor, 2020-06-11 10:16:07

Why doesn't the button work when adapting?

In general, the button for calling the modal window does not work on my hosting site page. I tested in different browsers and all exactly this problem is present. Although in chrome in devtools everything works . Why is that?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
secretsergey, 2020-06-11
@secretsergey

Finger to the sky.
Perhaps the click processing is written only for large screens, or styles.
A link to the site would help those who wish to help quickly understand the problem :)

B
bpGusar, 2020-06-11
@bpGusar

in js code on the button

<a href="#" class="btn style__btn style__btn_1" onclick="event.preventDefault()">Просмотреть</a>

no handler hanging

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question