From fdbade688a4d9e3ea9fca7b4cce2bf5d218aacd6 Mon Sep 17 00:00:00 2001 From: "Kasper D. Fischer" Date: Wed, 14 May 2014 16:13:05 +0000 Subject: [PATCH] Added pagerComplete event to highlight first event of visible table. --- www/events.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/events.js b/www/events.js index 62d009b..5d7901e 100644 --- a/www/events.js +++ b/www/events.js @@ -344,6 +344,9 @@ $(document).ready(function() { $('#eventstable').bind('sortEnd', function(){ highlightFirstEvent(); }); + $('#eventstable').bind('pagerComplete', function(){ + highlightFirstEvent(); + }); // show / hide event info $('#eventstable').delegate('.toggle', 'click' , function(){ // load event details