web: minor fix

This commit is contained in:
Le Tan 2018-11-10 19:39:57 +08:00
parent 2637fd90ec
commit 0ef38171e9

View File

@ -662,7 +662,7 @@ var renderFlowchart = function(classNames) {
} }
if (matched) { if (matched) {
if (renderFlowchartOne(code, flowchartIdx)) { if (renderFlowchartOne(code)) {
// replaceChild() will decrease codes.length. // replaceChild() will decrease codes.length.
--i; --i;
} }
@ -736,7 +736,7 @@ var renderPlantUMLOneOnline = function(code) {
++asyncJobsCount; ++asyncJobsCount;
code.classList.add(plantUMLCodeClass + plantUMLIdx); code.classList.add(plantUMLCodeClass + plantUMLIdx);
data = { index: plantUMLIdx, let data = { index: plantUMLIdx,
setupView: !VPreviewMode setupView: !VPreviewMode
}; };
renderPlantUMLOnline(VPlantUMLServer, renderPlantUMLOnline(VPlantUMLServer,