Fix linting.

pull/797/head
Hunter Trujillo 2017-01-27 15:36:39 -07:00
parent 36fab8dadf
commit 37970761a9
1 changed files with 7 additions and 3 deletions

View File

@ -18,9 +18,13 @@ const TelegramConfig = React.createClass({
handleSaveAlert(e) {
e.preventDefault();
let parseMode
if (this.parseModeHTML.checked) parseMode = 'HTML'
if (this.parseModeMarkdown.checked) parseMode = 'Markdown'
let parseMode;
if (this.parseModeHTML.checked) {
parseMode = 'HTML';
}
if (this.parseModeMarkdown.checked) {
parseMode = 'Markdown';
}
const properties = {
'chat-id': this.chatID.value,