Fix loss of presentation position when updating slides

pull/1/head
yflory 8 years ago
parent c864e213ec
commit fe5e33a0ee

@ -176,7 +176,7 @@ define([
var old = Slide.content;
Slide.content = content.replace(/\n\s*\-\-\-\s*\n/g, '\n\n'+separator+'\n\n');
if (old !== Slide.content) {
draw();
draw(Slide.index);
return;
}
change(Slide.lastIndex, Slide.index);

Loading…
Cancel
Save