From: Dobrica Pavlinusic Date: Sun, 18 Oct 2009 18:47:30 +0000 (+0200) Subject: extract seconds from link hash X-Git-Url: http://git.rot13.org/?p=HTML5TV.git;a=commitdiff_plain;h=ab0799e10ce85455ca1d17b6c14cd2b3ebd05b5d extract seconds from link hash --- diff --git a/www/html5tv.js b/www/html5tv.js index b78ec7d..620fb0c 100644 --- a/www/html5tv.js +++ b/www/html5tv.js @@ -98,8 +98,9 @@ $().ready(function() { $('td.seek_video').click( function() { //console.debug( 'click', this ); - var to = this.textContent; -//console.debug( 'seek', to ); + var mmss = this.textContent; + var to = this.firstChild.hash.replace('#',''); +//console.debug( 'seek', mmss, to ); seek_video( to ); } ); });