I am trying to get this code to function only a desktop - basically i want to disable this jQuery for mobile devices. I tried a few ways recommended here, but I couldnt get them to work - but I'm not ajavascript person so it could have been the way I was implementing them.
<script type="text/javascript">
jQuery(document).ready(function($){
$('.gilidPanel-opener a').click();
});
</script>