Commit d9cbcfc2 authored by Jacob Thornton's avatar Jacob Thornton

wait for window load event before positioning images, doi

parent b781f6ca
...@@ -312,14 +312,6 @@ img.large-bird { ...@@ -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 {
......
...@@ -48,6 +48,7 @@ $(document).ready(function(){ ...@@ -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(){ ...@@ -58,5 +59,5 @@ $(document).ready(function(){
}) })
.trigger('twipsy:show') .trigger('twipsy:show')
}) })
})
}); });
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment