diff --git a/_includes/sidebar.html b/_includes/sidebar.html index fb7421a..31cf920 100644 --- a/_includes/sidebar.html +++ b/_includes/sidebar.html @@ -72,7 +72,7 @@ https://twitter.com/{{ site.twitter.username }} {%- elsif entry.type == 'email' -%} {% assign email = site.social.email | split: '@' %} - javascript:window.open('mailto:' + ['{{ email[0] }}','{{ email[1] }}'].join('@')) + javascript:location.href = 'mailto:' + ['{{ email[0] }}','{{ email[1] }}'].join('@') {%- elsif entry.type == 'rss' -%} {{ "/feed.xml" | relative_url }} {%- else -%} @@ -87,4 +87,4 @@ {% endif %} {% endfor %} - \ No newline at end of file +