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

20 lines
421 B
JavaScript
Raw Normal View History

2016-09-13 17:45:13 +05:30
(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);