diff --git a/index.html b/index.html index 235167f..6137bcd 100644 --- a/index.html +++ b/index.html @@ -18,10 +18,10 @@ download bitmap file (.png)
- open - twitter - facebook - reddit + open + twitter + facebook + reddit sorry, something went wrong. maybe try again?
diff --git a/scripts/src/upload-imgur.js b/scripts/src/upload-imgur.js index 97f60c5..fe1b4af 100644 --- a/scripts/src/upload-imgur.js +++ b/scripts/src/upload-imgur.js @@ -90,7 +90,7 @@ define( twitter_share_url_text += ' http://snorpey.github.io/jpg-glitch'; //http://ar.zu.my/how-to-really-customize-the-deprecated-facebook-sharer-dot-php/ - var facebook_share_url = 'http://www.facebook.com/sharer.php?s=100'; + var facebook_share_url = 'https://www.facebook.com/sharer/sharer.php?s=100'; facebook_share_url += '&p[url]=' + response.data.link; facebook_share_url += '&p[title]=Glitch!'; facebook_share_url += '&p[images][0]=' + response.data.link; @@ -103,7 +103,7 @@ define( twitter_link.href = 'https://twitter.com/intent/tweet?text=' + encodeURIComponent( twitter_share_url_text ); facebook_link.href = facebook_share_url; - reddit_link.href = 'http://www.reddit.com/submit?url=' + encodeURIComponent( response.data.link ) + '&title=Glitch!'; + reddit_link.href = 'https://www.reddit.com/submit?url=' + encodeURIComponent( response.data.link ) + '&title=Glitch!'; is_showing_links = true; }