Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(theWindow.width() <= "756") {
- $("#main-nav ul").on("focus", "li", function(e){
- e.preventDefault();
- $(this).find(">ul").slideDown();
- }).on("focusout", function() {
- $(".has-children").find("ul").slideUp();
- return false;
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement