gitlab-org--gitlab-foss/app/assets/javascripts/network/network.js
2016-10-26 10:02:58 +02:00

20 lines
442 B
JavaScript

/* eslint-disable */
(function() {
this.Network = (function() {
function Network(opts) {
var vph;
$("#filter_ref").click(function() {
return $(this).closest('form').submit();
});
this.branch_graph = new BranchGraph($(".network-graph"), opts);
vph = $(window).height() - 250;
$('.network-graph').css({
'height': vph + 'px'
});
}
return Network;
})();
}).call(this);