Skip to content

Commit fa265d7

Browse files
committed
fix multiple spaces issue
1 parent 2370205 commit fa265d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

browser/components/MarkdownSplitEditor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ class MarkdownSplitEditor extends React.Component {
7777
handleCheckboxClick (e) {
7878
e.preventDefault()
7979
e.stopPropagation()
80-
const idMatch = /checkbox-([0-9]+)/
81-
const checkedMatch = /^\s*[\+\-\*] \[x\]/i
80+
const idMatch = /checkbox-([0-9]+)/
81+
const checkedMatch = /^\s*[\+\-\*] \[x\]/i
8282
const uncheckedMatch = /^\s*[\+\-\*] \[ \]/
8383
if (idMatch.test(e.target.getAttribute('id'))) {
8484
const lineIndex = parseInt(e.target.getAttribute('id').match(idMatch)[1], 10) - 1

0 commit comments

Comments
 (0)