diff app/assets/javascripts/new_paste.coffee @ 382:8ceb373e32d8

Nuke out javascripts =] Will bring some back later.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:56:01 +0900
parents
children af27800e9a0d
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/assets/javascripts/new_paste.coffee	Sun Jun 07 02:56:01 2015 +0900
@@ -0,0 +1,4 @@
+$(document).click "#reset_paste", (e) ->
+  e.preventDefault()
+  $form = $("#paste_paste")
+  $form.val("").focus()