Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $('.navbar-text').click(function (e) {
- sigmaInstance.graph.clear();
- if ($.value === "PEOPLE") {
- $.get('/networks/projects/graph/').success(drawGraph(data));
- $.value = "PROJECTS";
- } else {
- $.get('/networks/graph/').success(drawGraph(data));
- $.value = "PEOPLE"
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement