debian-mirror-gitlab/app/assets/javascripts/network.js.coffee
2015-04-26 09:18:37 +02:00

9 lines
260 B
CoffeeScript

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