gitlab-org--gitlab-foss/app/assets/javascripts/network.js.coffee

10 lines
260 B
CoffeeScript
Raw Normal View History

2014-08-21 04:14:31 -04:00
class @Network
constructor: (opts) ->
$("#filter_ref").click ->
$(this).closest('form').submit()
2014-08-21 04:14:31 -04:00
@branch_graph = new BranchGraph($(".network-graph"), opts)
vph = $(window).height() - 250
$('.network-graph').css 'height': (vph + 'px')