diff --git a/static/js/main.js b/static/js/main.js index db4ce0e8..fbce6e0f 100644 --- a/static/js/main.js +++ b/static/js/main.js @@ -70,8 +70,8 @@ function update_main(){ user_msg.setID(infos.id) bot_msg.setSender(infos.bot) bot_msg.setID(infos.response_id) - - messageTextElement=elements.messageTextElement; + + messageTextElement=elements; hiddenElement=elements.hiddenElement; entry_counter ++; }