Update main.js
This commit is contained in:
parent
083cc2d6c4
commit
4ae3aef7ef
1 changed files with 3 additions and 1 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
// Dean Attali / Beautiful Jekyll 2015
|
||||||
|
|
||||||
// Shorten the navbar after scrolling a little bit down
|
// Shorten the navbar after scrolling a little bit down
|
||||||
$(window).scroll(function() {
|
$(window).scroll(function() {
|
||||||
if ($(".navbar").offset().top > 50) {
|
if ($(".navbar").offset().top > 50) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue