From a00c0aab1eb5a7a55bef8ca08115bdd722ab5699 Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Sun, 16 May 2021 19:50:15 -0400 Subject: Moved the frontend directory up so that it no longer exists --- frontend/index.js | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 frontend/index.js (limited to 'frontend/index.js') diff --git a/frontend/index.js b/frontend/index.js deleted file mode 100644 index e05b25c..0000000 --- a/frontend/index.js +++ /dev/null @@ -1,28 +0,0 @@ -/// - -(function() { - function main() { - - // Retrieve the navbar - $.get('/navbar.html', function(pData) { - $('nav').html(pData); - - // Set selected tab as selected - $('nav').find('a').removeClass('nav-selected'); - $('nav').find('a[href="' + window.location.pathname + '"').addClass('nav-selected'); - }); - - // Set up show/hide functionality on the play/stop buttons - $('.play_button').on('click', function() { - $(this).hide(); - $(this).parent().find('.stop_button').show(); - }); - - $('.stop_button').on('click', function() { - $(this).hide(); - $(this).parent().find('.play_button').show(); - }); - } - - $(document).ready(main); -})() -- cgit v1.2.1