Skip to content

Commit

Permalink
web_chat.lua: Update URL for chat
Browse files Browse the repository at this point in the history
Fixes #249
  • Loading branch information
mathiascode authored Sep 28, 2022
1 parent 864e351 commit 6d8a620
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web_chat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ local JavaScript = [[
if( MessageContainer.value == "" ) return;
var postParams = "ChatMessage=" + MessageContainer.value;
OpenPage( "/~webadmin/Core/Chat/", postParams, function( xhr )
OpenPage( "/~webadmin/Core/chat/", postParams, function( xhr )
{
RefreshChat();
} );
Expand All @@ -85,7 +85,7 @@ local JavaScript = [[
function RefreshChat()
{
var postParams = "JustChat=true&LastMessageID=" + LastMessageID;
LoadPageInto("/~webadmin/Core/Chat/", postParams, document.getElementById('ChatDiv'));
LoadPageInto("/~webadmin/Core/chat/", postParams, document.getElementById('ChatDiv'));
}
setInterval(RefreshChat, 1000);
Expand Down

0 comments on commit 6d8a620

Please sign in to comment.