SHARE
TWEET

Untitled

a guest Jul 18th, 2019 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $('.tooltip-social').click(function () {
  2.         let textArea = document.createElement("textarea");
  3.         textArea.value = window.location.href;
  4.         this.appendChild(textArea);
  5.         textArea.focus();
  6.         textArea.select();
  7.         document.execCommand('copy');
  8.         this.removeChild(textArea);
  9.     });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top