From 3741c0eb924e5cb371dcc27807389b4b02cd7efb Mon Sep 17 00:00:00 2001 From: Jacob Thornton Date: Fri, 16 Sep 2011 12:22:59 -0700 Subject: [PATCH] wait for images to load before initing topbar --- assets/js/application.js | 1 + index.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/js/application.js b/assets/js/application.js index 16a20e06..09110c6f 100644 --- a/assets/js/application.js +++ b/assets/js/application.js @@ -38,6 +38,7 @@ $(document).ready(function(){ // ======================== $(window).bind( 'load resize', function () { + $('body > .topbar').scrollSpy() $(".twipsies a").each(function () { $(this) .twipsy({ diff --git a/index.html b/index.html index d586af8e..a61985b5 100644 --- a/index.html +++ b/index.html @@ -37,7 +37,7 @@ -
+