Update main.js

This commit is contained in:
Dean Attali 2015-09-08 03:09:02 -07:00
parent 083cc2d6c4
commit 4ae3aef7ef

View File

@ -1,3 +1,5 @@
// Dean Attali / Beautiful Jekyll 2015
// Shorten the navbar after scrolling a little bit down
$(window).scroll(function() {
if ($(".navbar").offset().top > 50) {