We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b84122 commit 3a6e8a4Copy full SHA for 3a6e8a4
zerobin/static/js/behavior.js
@@ -600,7 +600,7 @@
600
e.preventDefault();
601
if (confirm("This picture is unique to your paste so you can identify" +
602
" it quickly. \n\n Do you want to know more about this?")) {
603
- window.open("http://is.gd/IJaMRG", "_blank");
+ window.open("https://github.com/sametmax/VizHash.js", "_blank");
604
}
605
}).prependTo('.lnk-option').append(vhash.canvas);
606
@@ -890,11 +890,8 @@
890
});
891
892
/* Send the paste by email */
893
- $('#email-link').click(function() {
894
- zerobin.getTinyURL(window.location.toString(), function(tinyurl) {
895
- document.location.href= 'mailto:friend@example.com?body=' + tinyurl;
896
- });
897
- return false;
+ $('#email-link').click(function(e) {
+ e.target.href = 'mailto:friend@example.com?body=' + window.location.toString();
898
899
900
0 commit comments