diff --git a/ElectronClient/app/gui/NoteText.jsx b/ElectronClient/app/gui/NoteText.jsx index 9fa7ef0d0b..43d23f5889 100644 --- a/ElectronClient/app/gui/NoteText.jsx +++ b/ElectronClient/app/gui/NoteText.jsx @@ -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('`', '`'); } } diff --git a/ElectronClient/app/theme.js b/ElectronClient/app/theme.js index ee883293c5..ca4e06c851 100644 --- a/ElectronClient/app/theme.js +++ b/ElectronClient/app/theme.js @@ -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); }