Welcome to mirror list, hosted at ThFree Co, Russian Federation.

jquery.js.coffee « extensions « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 40fb6cb9fc343fd3d1092fe77fbb43c5e58b4d8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$.fn.showAndHide = ->
  $(@).show().
    delay(3000).
    fadeOut()

$.fn.enableButton = ->
  $(@).removeAttr('disabled').
    removeClass('disabled')

$.fn.disableButton = ->
  $(@).attr('disabled', 'disabled').
    addClass('disabled')