.then(response => response.json())
.catch((error) => {
response => null;
- console.error('Error: ', error);
})
;
}
// RENDERER FOR THIS VIEW
function view_render_forums() {
- document.getElementById("ctdl-main").innerHTML = "<div id=\"ctdl-mrp\" class=\"ctdl-forum-reading-pane\"></div>";
+ document.getElementById("ctdl-main").innerHTML = `<div id="ctdl-mrp" class="ctdl-forum-reading-pane"></div>`;
forum_readmessages("ctdl-mrp", 0, 9999999999);
}