Commit 0fc1f0fa authored by marc duez's avatar marc duez Committed by Mathieu Giraud
Browse files

segmenter_page.js : use same name for aligner

parent b90bc0c1
......@@ -205,7 +205,7 @@ function main() {
// Prepare Vidjil model
model = new Model();
segmenter = new Aligner('segmenter_container', model);
segment = new Aligner('segmenter_container', model);
scatter = new ScatterPlot('scatter_container', model);
console = new Com(window.console);
shortcut = new Shortcut(model)
......@@ -221,7 +221,7 @@ function main() {
if (data) {
disableSubmitButt(true);
// Clean views with transition
var segContainer = document.getElementById(segmenter.id);
var segContainer = document.getElementById(segment.id);
displayVidjilViews(false);
var funct = function () {
removePrefixedEvent(segContainer, 'TransitionEnd', funct);
......
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