Skip to content

Instantly share code, notes, and snippets.

@jackdempsey
Created April 5, 2013 03:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jackdempsey/5316467 to your computer and use it in GitHub Desktop.
Save jackdempsey/5316467 to your computer and use it in GitHub Desktop.
1 var fallacy_buttons = "<a href='#' onclick='$(\".usertext-edit textarea\").val(\"https://yourlogicalfallacyis.com/strawman\");'>strawman</a> | " +
2 "<a href='#' onclick='$(\".usertext-edit textarea\").val(\"https://yourlogicalfallacyis.com/false-cause\");'>false-cause</a>"
3 var buttons = "<div id='logical_fallacy' style='background-color: lightgrey'>" + fallacy_buttons + "</div>";
4
5 $("#header-bottom-left").after(buttons);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment