Fixed token message

This commit is contained in:
María Checa
2017-10-06 21:14:19 +02:00
parent 34cd8d8b98
commit 7e11a48f00

View File

@@ -17,6 +17,7 @@ App.Polls =
$(".js-question-answer").on
click: =>
token_message = $(".js-token-message")
token_message.html(token_message.html() + "<br><strong>" + @token + "</strong>");
token_message.show()
if !token_message.is(':visible')
token_message.html(token_message.html() + "<br><strong>" + @token + "</strong>");
token_message.show()
false