summaryrefslogtreecommitdiff
path: root/frontend/index.js
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2021-03-17 23:10:55 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2021-03-17 23:10:55 -0400
commitc29a911cd1a3f23f66478f205cace14487aadc56 (patch)
tree43308a2b186314c74e04441f5470a652cf607540 /frontend/index.js
parent1a08dd2bd6839f0be4b12dc5317ab0b00ca23ae1 (diff)
Beginning to build out the orthographic renderer, and updated styles
Diffstat (limited to 'frontend/index.js')
-rw-r--r--frontend/index.js22
1 files changed, 1 insertions, 21 deletions
diff --git a/frontend/index.js b/frontend/index.js
index d0f27f3..85b3fe6 100644
--- a/frontend/index.js
+++ b/frontend/index.js
@@ -9,28 +9,8 @@
// Set selected tab as selected
$('nav').find('a').removeClass('nav-selected');
$('nav').find('a[href="' + window.location.pathname + '"').addClass('nav-selected');
-
- // Set up tree callbacks
- $('.outer-tree > li').click(function() {
- $(this).toggleClass('expanded');
- })
-
- $('.inner-tree > li').click(function(pEv) {
- pEv.stopPropagation();
- })
-
- // Open up the selected document from the navigation tree
- var lSplitPath = window.location.pathname.split('/');
- if (lSplitPath.length < 3) {
- return;
- }
-
- if (lSplitPath[1] === '2d') {
- $('nav > ul > li:nth-child(2)').addClass('expanded');
- $('nav > ul > li:last-child').removeClass('expanded');
- }
});
}
$(document).ready(main);
-})() \ No newline at end of file
+})()