Difference between revisions of "Team:Cambridge-JIC/Notebook"
m |
|||
Line 24: | Line 24: | ||
// instantiate our notebook | // instantiate our notebook | ||
+ | var graph = null; | ||
+ | if($(".navbar-toggle").is(":visible")) { | ||
graph = new notebookGraph($('#notebook')); | graph = new notebookGraph($('#notebook')); | ||
+ | } else { | ||
+ | graph = new notebookGraphMob($('#notebook')); | ||
+ | } | ||
// establish the branches and their respective colours | // establish the branches and their respective colours |
Revision as of 12:19, 28 July 2015