Skip to content

Commit

Permalink
- sendMessage 함수 대/소문자 구별 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
s01ha committed Apr 29, 2018
1 parent 370aa18 commit 2335fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion options.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ function save_options() {
localStorage['botToken'] = document.getElementById('bot_token').value;
localStorage['chatId'] = document.getElementById('chat_id').value;

var url = 'https://api.telegram.org/bot' + document.getElementById('bot_token').value + '/sendmessage?chat_id=' + document.getElementById('chat_id').value + '&text=' + encodeURI('Bot connected.');
var url = 'https://api.telegram.org/bot' + document.getElementById('bot_token').value + '/sendMessage?chat_id=' + document.getElementById('chat_id').value + '&text=' + encodeURI('Bot connected.');

var xmlhttp = new XMLHttpRequest();
xmlhttp.onreadystatechange=function() {
Expand Down

0 comments on commit 2335fae

Please sign in to comment.