remove extra redraw

This commit is contained in:
Thibault Duplessis 2014-11-23 18:05:08 +01:00
parent 64d500dcdd
commit 49172a941d

View file

@ -175,10 +175,7 @@ function renderAnalyse(ctrl) {
return m('div.analyse', {
onclick: function(e) {
var path = e.target.getAttribute('data-path') || e.target.parentNode.getAttribute('data-path');
if (path) {
ctrl.jump(treePath.read(path));
m.redraw();
}
if (path) ctrl.jump(treePath.read(path));
}
},
tree);