Skip to content

Commit

Permalink
Fix a typo in flowRenderer. Fix #541
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerlong committed Mar 19, 2018
1 parent 13ec3f6 commit 01541a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mermaid",
"version": "8.0.0-beta.9",
"version": "8.0.0-rc.1",
"description": "Markdownish syntax for generating flowcharts, sequence diagrams, class diagrams, gantt charts and git graphs.",
"main": "dist/mermaid.core.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/diagrams/flowchart/flowRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 01541a3

Please sign in to comment.