view app/assets/javascripts/new_paste.coffee @ 384:7ba798dee39d

No need to assign to variable when it can be just chained.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:59:29 +0900
parents af27800e9a0d
children
line wrap: on
line source

$(document).on "click", "#reset_paste", (e) ->
  e.preventDefault()
  $("#paste_paste")
    .val("")
    .focus()