adjusting footable header to prevent table from being hidden when page size is reduced
authorAnthony Talarico <talarico@gaslightmedia.com>
Mon, 11 Apr 2016 20:05:04 +0000 (16:05 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Mon, 11 Apr 2016 20:05:04 +0000 (16:05 -0400)
class_flight.php

index b731dfc..bc88519 100644 (file)
@@ -214,12 +214,14 @@ include_once($_SERVER['DOCUMENT_ROOT'].'/wp-config.php' );
                                $out = '
                                <table class="footable departure id="flight-departures">';
                                        $out .= '
+                    <thead>
                                        <tr>
                                                <th>Destination</th>
                                                <th>Flight</th>
                                                <th>Time</th>
                                                <th>Status</th>
                                        </tr>
+                    </thead>
                                        ';
                                foreach( $this->dep_data as $row )
                                {