mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-09 18:39:41 +02:00
Fix a typo in flowRenderer. Fix #541
This commit is contained in:
@@ -456,7 +456,7 @@ export const draw = function (text, id) {
|
||||
if (!conf.htmlLabels) {
|
||||
const labels = document.querySelectorAll('#' + id + ' .edgeLabel .label')
|
||||
for (let k = 0; k < labels.length; k++) {
|
||||
const label = labels[i]
|
||||
const label = labels[k]
|
||||
|
||||
// Get dimensions of label
|
||||
const dim = label.getBBox()
|
||||
|
Reference in New Issue
Block a user