Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed small glitch in which gallery doesn't show while using Fresco.

  • Loading branch information...
commit 348269e1021d259b42ebc938689db6e600157981 1 parent fc592a2
@natansh natansh authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 js/main.js
View
5 js/main.js
@@ -52,11 +52,12 @@ $(document).ready(function() {
/* Need a friggin workaround for the twitter button as it doesn't show @username when display: none is set. */
$('#contact-twitter .contact-box').empty().html('<a href="https://twitter.com/AThingOfJoy" class="twitter-follow-button" data-show-count="false" data-size="large" data-show-screen-name="true">Follow @AThingOfJoy</a>\
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>');
- $('.home #heading, .home .nav, #copyright-footer').fadeIn(900, function() {
+
+ $.toggleDisabledByDefault();
+ $('.home #heading, .home .nav, #copyright-footer').css({display : 'block', opacity: '0'}).animate({opacity : '1', avoidCSSTransitions : false}, 900, function() {
/* We want the animate-enhanced plugin to be disabled after the animations.
* This prevents any untoward interactions.
*/
- $.toggleDisabledByDefault();
});
});
});
Please sign in to comment.
Something went wrong with that request. Please try again.