gitlab-org--gitlab-foss/app/assets/javascripts/ci/application.js.coffee

13 lines
339 B
CoffeeScript
Raw Normal View History

2015-08-26 01:42:46 +00:00
#= 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..')
2015-08-26 01:42:46 +00:00
window.unbindEvents = ->
$(document).unbind('scroll')
$(document).off('scroll')
document.addEventListener("page:fetch", unbindEvents)