From: Steve Sutton Date: Wed, 7 Mar 2018 15:16:21 +0000 (-0500) Subject: Update url for the schedules X-Git-Tag: v1.0.29^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=ae350708aae4ace794bef87c20be12c37780612e;p=WP-Themes%2Fmackinawferry.git Update url for the schedules going to use summer-schedules --- diff --git a/functions.php b/functions.php index 1b2027b..fa1cb64 100644 --- a/functions.php +++ b/functions.php @@ -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'); diff --git a/js/app.js b/js/app.js index 8a345c2..8d54533 100644 --- 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"; }); }); diff --git a/js/custom/pageSetup.js b/js/custom/pageSetup.js index c329cc8..f9cc8ee 100644 --- a/js/custom/pageSetup.js +++ b/js/custom/pageSetup.js @@ -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"; }); }); diff --git a/style.css b/style.css index 346ce48..c5b8294 100644 --- 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 */