Created
November 13, 2015 14:45
-
-
Save anevins12/a950645e4ac18f64d79f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add the trigger link | |
// $username = Take everything from the last '/' from the profile link | |
// On click of the trigger | |
// $post_content = Grab the contents of the textarea | |
// $post_content = $post_content + ' @' + $username; | |
// Add and replace the old post_content with the new in the Textarea |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment