Skip to content

Commit

Permalink
Slight adjustment to twitter share link
Browse files Browse the repository at this point in the history
  • Loading branch information
cemacrr committed Aug 9, 2024
1 parent b743450 commit 73c337f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ body {
}

.content_plot_share_links {
margin-left: 5em;
margin-left: 6em;
margin-bottom: 1em;
}

Expand Down
2 changes: 1 addition & 1 deletion js/stripes.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ function update_location() {
/* update sharing links: */
var twit_share = document.getElementById('twit_share');
twit_share.href = 'https://twitter.com/intent/tweet?text=' +
meta_desc_val +
encodeURIComponent(meta_desc_val) +
'&url=' + encodeURIComponent(meta_url_val);
};

Expand Down

0 comments on commit 73c337f

Please sign in to comment.