diff --git a/file/js/TimWolla.WCF.Chat.js b/file/js/TimWolla.WCF.Chat.js index 9711911..04c75db 100644 --- a/file/js/TimWolla.WCF.Chat.js +++ b/file/js/TimWolla.WCF.Chat.js @@ -57,6 +57,10 @@ if (typeof TimWolla.WCF == 'undefined') TimWolla.WCF = {}; event.preventDefault(); this.submit($(event.target)); }, this)); + + $('button').click(function (event) { + window.location.href = $(event.target).attr('value'); + }); }, /** * Changes the chat-room. diff --git a/template/chat.tpl b/template/chat.tpl index 47c83f0..378c594 100644 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -8,7 +8,6 @@