1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Apply linter

This commit is contained in:
Laurent Cozic 2019-10-01 19:33:46 +01:00
parent a35cc23d28
commit 29ec7ba03a
2 changed files with 2 additions and 4 deletions

View File

@ -1461,8 +1461,7 @@ class NoteTextComponent extends React.Component {
if (match && match.length > 0) {
// Follow the same newline style
this.wrapSelectionWithStrings(`\`\`\`${match[0]}`, `${match[0]}\`\`\``);
}
else {
} else {
this.wrapSelectionWithStrings('`', '`');
}
}

View File

@ -405,8 +405,7 @@ function themeStyle(theme) {
output = Object.assign({}, output, solarizedLightStyle);
} else if (theme == Setting.THEME_SOLARIZED_DARK) {
output = Object.assign({}, output, solarizedDarkStyle);
}
else if (theme == Setting.THEME_DRACULA) {
} else if (theme == Setting.THEME_DRACULA) {
output = Object.assign({}, output, draculaStyle);
}