gitlabhq/app/assets/javascripts/extensions/jquery.js.coffee

10 lines
152 B
CoffeeScript
Raw Normal View History

2013-03-27 19:07:52 +01:00
$.fn.showAndHide = ->
$(@).show().
delay(3000).
fadeOut()
$.fn.enableButton = ->
$(@).removeAttr('disabled').
removeClass('disabled')