Update url for the schedules
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 7 Mar 2018 15:16:21 +0000 (10:16 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 7 Mar 2018 15:16:21 +0000 (10:16 -0500)
going to use summer-schedules

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

index 1b2027b..fa1cb64 100644 (file)
@@ -87,7 +87,7 @@ function glm_site_scripts()
         'glm_foundation',
         get_template_directory_uri() . '/js/app.js',
         'jquery',
-        '1.0',
+        '1.0.1',
         true
     );
     wp_enqueue_style('jquery-style', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/smoothness/jquery-ui.css');
index 8a345c2..8d54533 100644 (file)
--- a/js/app.js
+++ b/js/app.js
@@ -363,7 +363,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/ferry-rates-schedules/?dockId=" + $(this).attr('value') + "&scheduleId=" + $(this).parent().attr('id').slice(-1) + "#edit-divy";
+        location.href = "https://www.mackinacferry.com/summer-schedules/?dockId=" + $(this).attr('value') + "&scheduleId=" + $(this).parent().attr('id').slice(-1) + "#edit-divy";
     });
 });
 
index c329cc8..f9cc8ee 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/ferry-rates-schedules/?dockId=" + $(this).attr('value') + "&scheduleId=" + $(this).parent().attr('id').slice(-1) + "#edit-divy";
+        location.href = "https://www.mackinacferry.com/summer-schedules/?dockId=" + $(this).attr('value') + "&scheduleId=" + $(this).parent().attr('id').slice(-1) + "#edit-divy";
     });
 });
 
index 346ce48..c5b8294 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.28
+Version: 1.0.29
 */