made small change due to forgetting to make a hotfix for the previous commit
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 20 Jun 2016 14:38:03 +0000 (10:38 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 20 Jun 2016 14:38:03 +0000 (10:38 -0400)
js/app.js
js/custom/pageSetup.js

index f01b2a5..5295c40 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -59,8 +59,10 @@ $(document).ready(function () {
     
     $('#submit-button > td').attr("colspan",2);
     
+    // get the url of whichever page we're on
     var url = window.location.href;
-    // 'current' class style to sidebar item that matches the current url
+    
+    // 'current_page_item' class style to sidebar item that matches the current url
       $('ul.sidebar li a').each(function() {
         if ($(this).prop('href') == url) {
             $(this).addClass('current_page_item');
index 5d7bb64..5bb623e 100644 (file)
@@ -50,8 +50,10 @@ $(document).ready(function () {
     
     $('#submit-button > td').attr("colspan",2);
     
+    // get the url of whichever page we're on
     var url = window.location.href;
-    // 'current' class style to sidebar item that matches the current url
+    
+    // 'current_page_item' class style to sidebar item that matches the current url
       $('ul.sidebar li a').each(function() {
         if ($(this).prop('href') == url) {
             $(this).addClass('current_page_item');