Ololo
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
$ ->
|
||||
$form = $('#pasteform')
|
||||
$contents = $('#contents')
|
||||
$_button = $('#submitbtn')
|
||||
$button = $('#submitlnk')
|
||||
|
||||
# Hide generic button, show styled button
|
||||
$_button.hide()
|
||||
$button.show()
|
||||
$contents.focus()
|
||||
|
||||
# Binding submit event to new button
|
||||
$button.on 'click', ->
|
||||
$form.submit()
|
||||
false
|
||||
Reference in New Issue
Block a user