annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
382
8ceb373e32d8 Nuke out javascripts =]
nanaya <me@myconan.net>
parents:
diff changeset
1 $(document).click "#reset_paste", (e) ->
8ceb373e32d8 Nuke out javascripts =]
nanaya <me@myconan.net>
parents:
diff changeset
2 e.preventDefault()
8ceb373e32d8 Nuke out javascripts =]
nanaya <me@myconan.net>
parents:
diff changeset
3 $form = $("#paste_paste")
8ceb373e32d8 Nuke out javascripts =]
nanaya <me@myconan.net>
parents:
diff changeset
4 $form.val("").focus()