annotate app/assets/javascripts/pastes.js @ 41:ca7e3661cda0
Better styled show paste.
author |
Edho Arief <edho@myconan.net> |
date |
Thu, 04 Oct 2012 02:12:26 +0700 |
parents |
a930c717654c |
children |
6a9e0c09bbd8 |
rev |
line source |
2
|
1 // Place all the behaviors and hooks related to the matching controller here.
|
|
2 // All this logic will automatically be available in application.js.
|
39
|
3
|
|
4 $(document).ready(function() {
|
|
5 $('#reset_paste').click(function() {
|
|
6 $('#paste_paste').val('');
|
|
7 $('#paste_paste').focus();
|
|
8 return false;
|
|
9 });
|
|
10 })
|