diff --git a/file/js/be.bastelstu.WCF.Chat.coffee b/file/js/be.bastelstu.WCF.Chat.coffee index a986e3a..f115b09 100644 --- a/file/js/be.bastelstu.WCF.Chat.coffee +++ b/file/js/be.bastelstu.WCF.Chat.coffee @@ -276,7 +276,7 @@ window.console ?= # Loads new messages. ### getMessages: () -> - $.ajax 'index.php/Chat/Message/', + $.ajax @config.messageURL, dataType: 'json' type: 'POST' success: $.proxy((data, textStatus, jqXHR) -> diff --git a/template/chat.tpl b/template/chat.tpl index bad0d87..d43b0d4 100644 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -67,7 +67,7 @@ -
@@ -77,7 +77,7 @@ {include file='__messageFormSmilies' smilies=$defaultSmilies} {/capture} -