summaryrefslogtreecommitdiff
path: root/src/chat/room.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chat/room.cpp')
-rwxr-xr-xsrc/chat/room.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/chat/room.cpp b/src/chat/room.cpp
index b927d40..00dc463 100755
--- a/src/chat/room.cpp
+++ b/src/chat/room.cpp
@@ -75,7 +75,8 @@ room::clean_room()
void
room::reload_onlineframe()
{
- javascript_post("parent.online.location.reload();");
+ string s_msg = "<script language=\"JavaScript\"> parent.online.location.reload(); </script>\n";
+ msg_post( &s_msg );
}
void