Updating script for the drop down nav
authorSteve Sutton <steve@gaslightmedia.com>
Thu, 7 Mar 2019 14:37:19 +0000 (09:37 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Thu, 7 Mar 2019 14:37:19 +0000 (09:37 -0500)
They changed the page name again.

functions.php
js/custom/pageSetup.js
style.css

index fa1cb64..2bc0bcb 100644 (file)
@@ -87,7 +87,7 @@ function glm_site_scripts()
         'glm_foundation',
         get_template_directory_uri() . '/js/app.js',
         'jquery',
-        '1.0.1',
+        '1.0.2',
         true
     );
     wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
index f9cc8ee..10f454d 100644 (file)
@@ -352,7 +352,7 @@ $(document).ready(function () {
 
     // redirect any clicks on the list items to the appropriate page
     $('.newdd-sched-option').on('click', function() {
-        location.href = "https://www.mackinacferry.com/summer-schedules/?dockId=" + $(this).attr('value') + "&scheduleId=" + $(this).parent().attr('id').slice(-1) + "#edit-divy";
+        location.href = "https://www.mackinacferry.com/schedules/?dockId=" + $(this).attr('value') + "&scheduleId=" + $(this).parent().attr('id').slice(-1) + "#edit-divy";
     });
 });
 
index bd73146..d7798a4 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: StarLine
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for Star Line
-Version: 1.0.38
+Version: 1.0.40
 */