Commit d00e78ba authored by fred's avatar fred
Browse files

don't let second timecode click start a fragment

parent 996f730a
......@@ -489,7 +489,7 @@ $(function() {
var timestamp_position = timestamp[0] * 60 + timestamp[1] * 1;
var tick_idx = parseInt(nb_ticks * timestamp_position / total_duration);
// play, then set rough position
$('.episode.detail .icon-play-sign').first().trigger('click');
$('.episode.detail .sound .icon-play-sign').first().trigger('click');
var matching_audio = $('audio[data-sound-id=' + sound_id + ']');
matching_audio[0].currentTime = timestamp_position;
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment