Yes is working, the problem came from a syntax error sorry.
Actually I’m trying to add an specific structure according to the device size using jquery in js. For example, to desktop make a dropdown in home, but in mobile, put widget in the drop-down menu.
I use window.matchMedia to identify the screen size but this not work.. any tip??
Regards