async
authorArt Cancro <ajc@citadel.org>
Fri, 23 Feb 2018 01:13:16 +0000 (20:13 -0500)
committerArt Cancro <ajc@citadel.org>
Fri, 23 Feb 2018 01:13:16 +0000 (20:13 -0500)
webcit-ng/static/js/views.js

index 5ce6f762c366271c72f3e9e3cf360fcbc96049fb..fbc8299027a77193d31238d76355677f3fd769c9 100644 (file)
@@ -173,7 +173,7 @@ function forum_render_messages(msgs, prefix, scroll_to)
 function forum_render_one(div, msgnum, scroll_to)
 {
        var request = new XMLHttpRequest();
-       request.open("GET", "/ctdl/r/" + escapeHTMLURI(current_room) + "/" + msgs[i] + "/json", false);         // false == synchronous
+       request.open("GET", "/ctdl/r/" + escapeHTMLURI(current_room) + "/" + msgs[i] + "/json", true);
        request.onreadystatechange = function()
        {
                if (this.readyState === 4)