Skip to content

Instantly share code, notes, and snippets.

@Struki84
Last active January 6, 2017 20:32
Show Gist options
  • Save Struki84/6a005db0ce0159a240b6fe324a89c346 to your computer and use it in GitHub Desktop.
Save Struki84/6a005db0ce0159a240b6fe324a89c346 to your computer and use it in GitHub Desktop.
Media specific css
$(document).ready(function(){
$('.nav a').on('click', function(){
$('.btn-navbar').click(); //bootstrap 2.x
$('.navbar-toggle').click() //bootstrap 3.x by Richard
//Print log in the broser console...
console.log("My script is Runing")
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment