Fix loss of presentation position when updating slides

pull/1/head
yflory 2017-03-14 15:42:42 +01:00
parent c864e213ec
commit fe5e33a0ee
1 changed files with 1 additions and 1 deletions

View File

@ -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);