10 lines
152 B
CoffeeScript
10 lines
152 B
CoffeeScript
$.fn.showAndHide = ->
|
|
$(@).show().
|
|
delay(3000).
|
|
fadeOut()
|
|
|
|
$.fn.enableButton = ->
|
|
$(@).removeAttr('disabled').
|
|
removeClass('disabled')
|
|
|