Skip to main content
2 of 2
added 30 characters in body
No Sssweat
  • 31.6k
  • 14
  • 55
  • 91

I see there are some errors in your code, such as a missing open curly bracket for your if statement and few others.

Try this:

(function ($) {
    
 jQuery.noConflict();
     $(document).ready(function( $ ) {
         $("#page").on("swipe",function(){ 
         if($(window).width()<=900) {
         $("#nice-menu-1").children("li").children("ul").css({"display": "block", "visibility": "visible"});
         }
         });
     });

})(jQuery);
No Sssweat
  • 31.6k
  • 14
  • 55
  • 91