Commit 552dec9d authored by fred's avatar fred

limit display of waveform to central part

parent 4ed605f6
......@@ -453,7 +453,7 @@ $(function() {
$(this).toggleClass('right marged');
});
$('#Main audio').each(function(index, audio) {
$('#Main #Emission-tabs-detail audio').each(function(index, audio) {
var audio_src = $(audio).find('source')[0];
var $waveform = $(audio).next();
$.getJSON(audio_src.src.replace('.ogg', '.waveform.json'), function(data) {
......
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