diff --git a/www/events.js.en b/www/events.js.en
index 1d31dbb..4793bb6 100644
--- a/www/events.js.en
+++ b/www/events.js.en
@@ -371,18 +371,18 @@ $(document).ready(function() {
// hide child rows
$('#eventstable > tbody > tr.tablesorter-childRow td').hide();
// update map after filtering
- $('#eventstable').bind('filterEnd', function(){
+ $('#eventstable').on('filterEnd', function(){
toggleFilteredMarkers();
});
// highlight first event
- $('#eventstable').bind('sortEnd', function(){
+ $('#eventstable').on('sortEnd', function(){
highlightFirstEvent();
});
- $('#eventstable').bind('pagerComplete', function(){
+ $('#eventstable').on('pagerComplete', function(){
highlightFirstEvent();
});
// show / hide event info
- $('#eventstable').delegate('.toggle', 'click' , function(){
+ $('#eventstable').on('click', '.toggle', function(){
// load event details
var eventid = $(this).attr('eventid');
( eventDetails[eventid] ) ? null : ajaxLoadEventInfo(eventid);
diff --git a/www/index.html.en b/www/index.html.en
index 7d1e4e2..db07261 100755
--- a/www/index.html.en
+++ b/www/index.html.en
@@ -8,38 +8,36 @@
-
-
-
-
+
+
+
-
+
-
-
+
+
-
-
+
+
-
-
-
-
-
-
+
+
+
+
+
+
-
+
-
diff --git a/www/stations.js.en b/www/stations.js.en
index 2d2b402..f185b3f 100644
--- a/www/stations.js.en
+++ b/www/stations.js.en
@@ -213,7 +213,7 @@ function initStationTable() {
// hide child rows
$('#stationstable > tbody > tr.tablesorter-childRow > td').hide();
// update map after filtering
- // $('#stationsstable').bind('filterEnd', function(){
+ // $('#stationsstable').on('filterEnd', function(){
// toggleFilteredMarkers();
// });
};
@@ -238,7 +238,7 @@ $(document).ready(function() {
// loadStations('KERA');
// loadStations('KARP');
// show / hide station info
- $('#stationstable').delegate('.toggle', 'click' , function(){
+ $('#stationstable').on('click', '.toggle' , function(){
// toggle visibility of selected row
$(this).closest('tr').nextUntil('tr.tablesorter-hasChildRow').find('td').toggle('slow');
// mark currently selected row and remove class selected from all other rows