wait for images to load before initing topbar

This commit is contained in:
Jacob Thornton
2011-09-16 12:22:59 -07:00
parent 13068f933d
commit 3741c0eb92
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -38,6 +38,7 @@ $(document).ready(function(){
// ========================
$(window).bind( 'load resize', function () {
$('body > .topbar').scrollSpy()
$(".twipsies a").each(function () {
$(this)
.twipsy({
+1 -1
View File
@@ -37,7 +37,7 @@
<!-- Topbar
================================================== -->
<div class="topbar" data-scrollspy="scrollspy" >
<div class="topbar" >
<div class="topbar-inner">
<div class="container">
<a class="brand" href="#">Bootstrap</a>