gitlabhq/app/assets/javascripts/extensions/jquery.js.coffee
2013-03-27 20:07:52 +02:00

10 lines
152 B
CoffeeScript

$.fn.showAndHide = ->
$(@).show().
delay(3000).
fadeOut()
$.fn.enableButton = ->
$(@).removeAttr('disabled').
removeClass('disabled')