gitlab-org--gitlab-foss/app/assets/javascripts/ci/application.js.coffee
2016-05-09 13:56:15 +02:00

12 lines
339 B
CoffeeScript

#= require pager
#= require jquery_nested_form
#= require_tree .
$(document).on 'click', '.assign-all-runner', ->
$(this).replaceWith('<i class="fa fa-refresh fa-spin"></i> Assign in progress..')
window.unbindEvents = ->
$(document).unbind('scroll')
$(document).off('scroll')
document.addEventListener("page:fetch", unbindEvents)