Mercurial > zeropaste
view app/assets/javascripts/pastes.js @ 77:2fb80ca710e0
Added cache control so it's cached by browser the first time loaded.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Thu, 04 Oct 2012 10:49:23 -0700 |
parents | 5635c91f4bfd |
children | 6ae3333a0251 |
line wrap: on
line source
// Place all the behaviors and hooks related to the matching controller here. // All this logic will automatically be available in application.js. $(document).ready(function() { $('#reset_paste').click(function() { $('#paste_paste').val(''); $('#paste_paste').focus(); return false; }); $('#paste_paste').focus(); })