mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 13:59:52 +08:00
web: minor fix
This commit is contained in:
parent
2637fd90ec
commit
0ef38171e9
@ -662,7 +662,7 @@ var renderFlowchart = function(classNames) {
|
||||
}
|
||||
|
||||
if (matched) {
|
||||
if (renderFlowchartOne(code, flowchartIdx)) {
|
||||
if (renderFlowchartOne(code)) {
|
||||
// replaceChild() will decrease codes.length.
|
||||
--i;
|
||||
}
|
||||
@ -736,7 +736,7 @@ var renderPlantUMLOneOnline = function(code) {
|
||||
++asyncJobsCount;
|
||||
code.classList.add(plantUMLCodeClass + plantUMLIdx);
|
||||
|
||||
data = { index: plantUMLIdx,
|
||||
let data = { index: plantUMLIdx,
|
||||
setupView: !VPreviewMode
|
||||
};
|
||||
renderPlantUMLOnline(VPlantUMLServer,
|
||||
|
Loading…
x
Reference in New Issue
Block a user