Line 477: | Line 477: | ||
}); | }); | ||
− | + | if ( $(window).width() < 900 ){ | |
− | + | $(document).ready(function() | |
− | + | { | |
− | + | $("ul#sidebar").on("click","li", function(){ | |
− | + | console.log("hi2") | |
− | + | $("#scrollspy").css("display","none") | |
− | + | scrole_open = false | |
− | + | }); | |
− | + | }); | |
− | + | } | |
if ( $(window).width() > 650 ){ | if ( $(window).width() > 650 ){ |
Revision as of 22:56, 19 October 2016