Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript problem with submenu on smartphone Reply To: problem with submenu on smartphone

#248554
Shikkediel
Participant

With regard to the pen and matchMedia(), I think the syntax is without @media in front:

var mq = window.matchMedia('all and (min-width: 768px)');

I have not looked at the larger issue in depth any further…