From 4ae3aef7efbee514dc13a895be6b3120b6a7827d Mon Sep 17 00:00:00 2001 From: Dean Attali Date: Tue, 8 Sep 2015 03:09:02 -0700 Subject: [PATCH] Update main.js --- js/main.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index 2fa42e2..918edb7 100644 --- a/js/main.js +++ b/js/main.js @@ -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) { @@ -13,4 +15,4 @@ $('#main-navbar').on('show.bs.collapse', function () { }) $('#main-navbar').on('hidden.bs.collapse', function () { $(".navbar").removeClass("top-nav-expanded"); -}) \ No newline at end of file +})