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