Skip to content

Commit

Permalink
New line after keyboard (generated blockly code)
Browse files Browse the repository at this point in the history
  • Loading branch information
klein0r committed Jun 12, 2024
1 parent 1c6706a commit eba2565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/blockly.js
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ Blockly.JavaScript['telegram_ask'] = function(block) {
(value_chatid ? ` chatId: ${value_chatid},\n` : '') +
` reply_markup: {\n` +
` inline_keyboard: [\n` +
answers.map(a => ` [ { text: ${a.answer}, callback_data: '${a.id}' } ],`).join('\n') +
answers.map(a => ` [ { text: ${a.answer}, callback_data: '${a.id}' } ],`).join('\n') + '\n' +
` ],\n` +
` }\n` +
`}, msg => {\n${logAnswer}` +
Expand Down

0 comments on commit eba2565

Please sign in to comment.