aboutsummaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
Diffstat (limited to 'web_src')
-rw-r--r--web_src/js/gitGraph.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/web_src/js/gitGraph.js b/web_src/js/gitGraph.js
index 59083fe569..12d7a2eddf 100644
--- a/web_src/js/gitGraph.js
+++ b/web_src/js/gitGraph.js
@@ -250,16 +250,14 @@ export default function gitGraph(canvas, rawGraphList, config) {
}
}
- /* eslint-disable-next-line */
if (condensePrevLength < condenseCurrentLength
- && ((nodePos = findColomn('*', currentRow)) !== -1
+ && ((nodePos = findColomn('*', currentRow)) !== -1 // eslint-disable-line no-cond-assign
&& (findColomn('_', currentRow) === -1))) {
flows.splice(nodePos - 1, 0, genNewFlow());
}
- /* eslint-disable-next-line */
if (prevRowLength > currentRow.length
- && (nodePos = findColomn('*', prevRow)) !== -1) {
+ && (nodePos = findColomn('*', prevRow)) !== -1) { // eslint-disable-line no-cond-assign
if (findColomn('_', currentRow) === -1
&& findColomn('/', currentRow) === -1
&& findColomn('\\', currentRow) === -1) {