1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-10-03 00:31:55 +02:00

update js in footer, add max-width to img

This commit is contained in:
Mark Otto
2011-12-09 12:10:01 -08:00
parent 1d1805ee5c
commit 7b810bf9a6
9 changed files with 19 additions and 14 deletions

View File

@@ -30,9 +30,9 @@
<script type="text/javascript">
// NOT FINAL BY ANY MEANS, JUST MAH JANK CODE BRO
$(document).ready(function() {
$('.nav .active a').click(function(e) {
$('.nav .active').click(function(e) {
e.preventDefault();
$(this).parent().siblings().toggle();
$(this).siblings().toggle();
});
});
</script>