diff --git a/front-page.php b/front-page.php index 4bf10fe..fa4cfc6 100644 --- a/front-page.php +++ b/front-page.php @@ -2,8 +2,6 @@ use Rarst\WordPress\DateTime\WpDateTime; use Rarst\WordPress\DateTime\WpDateTimeZone; -//$data = json_decode(file_get_contents(WP_CONTENT_DIR . '/uploads/KCHS.json'), true); - $data = array(); $data['current_observation'] = chswx_normalize_observation_data(chswx_get_observation_data()); @@ -79,15 +77,6 @@ } ?> - -jQuery(document).ready(function($) { - $('.alert').click(function(event) { - var toggleID = '#' + event.currentTarget.id.toString(); - $(toggleID + ' ul').toggle(); - }); -}); - -*/?>

CURRENTLY

Temporarily Unavailable
- -
-

Alerts

-
- + to('mi h**-1')) . " mph"; } else { $n_ob['wind_mph'] = "Not Available"; } if (!is_null($windGust)) { - $c_gust = new Convertor($windGust, 'm s**-1'); + $c_gust = new Convertor($windGust, 'km h**-1'); $n_ob['wind_gust_mph'] = round($c_gust->to('mi h**-1')) . " mph"; }