debian-mirror-gitlab/app/assets/javascripts/network.js.coffee

10 lines
260 B
CoffeeScript
Raw Normal View History

2015-04-26 12:48:37 +05:30
class @Network
2014-09-02 18:07:02 +05:30
constructor: (opts) ->
$("#filter_ref").click ->
$(this).closest('form').submit()
2015-04-26 12:48:37 +05:30
@branch_graph = new BranchGraph($(".network-graph"), opts)
2014-09-02 18:07:02 +05:30
vph = $(window).height() - 250
$('.network-graph').css 'height': (vph + 'px')