|
|
@ -2,7 +2,7 @@ $(document).ready(function(){ |
|
|
|
|
|
|
|
// classe laudio et id timecode sur les liens vers #t123456789
|
|
|
|
$("a").each(function(){ |
|
|
|
var timecode = $(this)[0].href.match(/t(\d+)/) ; |
|
|
|
var timecode = $(this)[0].href.match(/#t(\d+)$/) ; |
|
|
|
if(typeof timecode !== "undefined" && timecode){ |
|
|
|
$(this).addClass("laudio"); |
|
|
|
$(this).attr('id', timecode[0]); |
|
|
|