mirror of
https://github.com/wahyd4/bootstrap.git
synced 2026-08-17 00:36:11 +10:00
wait for images to load before initing topbar
This commit is contained in:
@@ -38,6 +38,7 @@ $(document).ready(function(){
|
||||
// ========================
|
||||
|
||||
$(window).bind( 'load resize', function () {
|
||||
$('body > .topbar').scrollSpy()
|
||||
$(".twipsies a").each(function () {
|
||||
$(this)
|
||||
.twipsy({
|
||||
|
||||
+1
-1
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user