mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-16 06:05:00 -05:00
Fix Twitter integration over SSL
This commit is contained in:
parent
cf0fd14476
commit
d4f7f10fee
@ -5,9 +5,9 @@
|
|||||||
<li class="loading">Status updating...</li>
|
<li class="loading">Status updating...</li>
|
||||||
</ul>
|
</ul>
|
||||||
{% if site.twitter_follow_button %}
|
{% if site.twitter_follow_button %}
|
||||||
<a href="http://twitter.com/{{ site.twitter_user }}" class="twitter-follow-button" data-show-count="{{ site.twitter_show_follower_count }}">Follow @{{ site.twitter_user }}</a>
|
<a href="//twitter.com/{{ site.twitter_user }}" class="twitter-follow-button" data-show-count="{{ site.twitter_show_follower_count }}">Follow @{{ site.twitter_user }}</a>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>Follow <a href="http://twitter.com/{{site.twitter_user}}">@{{ site.twitter_user }}</a></p>
|
<p>Follow <a href="//twitter.com/{{site.twitter_user}}">@{{ site.twitter_user }}</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
var twitterWidgets = document.createElement('script');
|
var twitterWidgets = document.createElement('script');
|
||||||
twitterWidgets.type = 'text/javascript';
|
twitterWidgets.type = 'text/javascript';
|
||||||
twitterWidgets.async = true;
|
twitterWidgets.async = true;
|
||||||
twitterWidgets.src = 'http://platform.twitter.com/widgets.js';
|
twitterWidgets.src = '//platform.twitter.com/widgets.js';
|
||||||
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
|
document.getElementsByTagName('head')[0].appendChild(twitterWidgets);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user