mirror of
https://github.com/zulip/zulip.git
synced 2026-07-12 21:04:41 +08:00
send_pointer_update: Use an absolute path for /json/update_pointer
(imported from commit 8711df3f705023e763cf916a7dfbf43054d4823f)
This commit is contained in:
parent
3923e2eca6
commit
bbb70b496b
@ -137,7 +137,7 @@ var message_id_to_send = -1;
|
||||
// server
|
||||
function send_pointer_update() {
|
||||
if (message_id_to_send !== last_message_id_sent) {
|
||||
$.post("json/update_pointer", {pointer: message_id_to_send});
|
||||
$.post("/json/update_pointer", {pointer: message_id_to_send});
|
||||
last_message_id_sent = message_id_to_send;
|
||||
}
|
||||
setTimeout(send_pointer_update, 1000);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user