-
Closed
-
Hello,
I am using alora theme on my client’s website. On one of the pages, I have a map with links and 2 additional dropdown menus that link to # divs using .target class. When clicked, it would show the hidden table on the page. All was working fine till the last update – since then the two dropdown menus are not working – the links on the map work fine, just not the dropdowns.
You can check how it looks like here:
http://stowarzyszeniestop.pl/stop/baza-trenerow/I tried to resolve this problem using Bootstrap classes like <button> or accordion, but that is not what I need here – the button would just open one part of the content, but not close it when you click another button, and accordion needs the button to be inside of the panel, while I need it outside, near the map.
From what I found, the culprit is e.preventDefault(). I’m not that good with Javascript, so all my attempts to paste there what I found on the internet, failed… All I need is a simple code that I can put inside of the page content, that would enable default for this page only.
Thanks in advance for any advice –
Paulina
The topic how to disable e.preventDefault() on one page? is closed to new replies