welcome
..
This code
Resolve the delay arrive in pm chat
When you press this button
the page will reload as a simple refreshing and you will receive messages immediately
code
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery Reload the Current Page</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script>
$(document).ready(function(){
$("button").click(function(){
location.reload(true);
});
});
</script>
</head>
<body>
<p>Click the following button to reload this page, without using the cache.</p>
<button type="button">Reload page</button>
</body>
</html>
add this code in end of pmchat_chatwindow__entry template
Comment