1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-15 10:05:40 +02:00

wait for window load event before positioning images, doi

This commit is contained in:
Jacob Thornton
2011-09-10 22:54:47 -07:00
parent b781f6ca59
commit d9cbcfc20d
2 changed files with 11 additions and 18 deletions

View File

@@ -312,14 +312,6 @@ img.large-bird {
opacity: .1; opacity: .1;
} }
/* Media grid images
--------------------------------------------------- */
.media-grid img {
height: 150px;
width: 210px;
}
/* Pretty Print /* Pretty Print
-------------------------------------------------- */ -------------------------------------------------- */
pre.prettyprint { pre.prettyprint {

View File

@@ -48,6 +48,7 @@ $(document).ready(function(){
// POSITION STATIC TWIPSIES // POSITION STATIC TWIPSIES
// ======================== // ========================
$(window).load(function () {
$(".twipsies a").each(function () { $(".twipsies a").each(function () {
$(this) $(this)
.twipsy({ .twipsy({
@@ -58,5 +59,5 @@ $(document).ready(function(){
}) })
.trigger('twipsy:show') .trigger('twipsy:show')
}) })
})
}); });