Skip to content

Commit 61f4f9d

Browse files
committed
Corrected script bracket count
1 parent 229c350 commit 61f4f9d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

index.html

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -392,17 +392,18 @@ <h1>Contact Me</h1>
392392
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
393393

394394
<!-- Script to scroll via the navigation bar -->
395+
<!-- Script necessary for carousel to slide -->
395396
<script type="text/javascript">
396397
jQuery(document).ready(function($) {
397398
$(".scroll").click(function(event) {
398399
event.preventDefault();
399400
$('html,body').animate( { scrollTop:$(this.hash).offset().top } , 1000);
400-
} );
401-
} );
402-
$('.carousel').carousel({
403-
interval: 1200
404-
})
405-
};
401+
});
402+
403+
$('.carousel').carousel({
404+
interval: 1200
405+
});
406+
});
406407
</script>
407408
</body>
408409

0 commit comments

Comments
 (0)