Add TODO comment for potentially using postToast for comments in the future
This commit is contained in:
parent
2cc5160989
commit
b8e41184d8
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ function post_comment(fullname,id,level = 1){
|
||||||
catch(e) {}
|
catch(e) {}
|
||||||
|
|
||||||
const xhr = new XMLHttpRequest();
|
const xhr = new XMLHttpRequest();
|
||||||
xhr.open("post", "/comment");
|
xhr.open("post", "/comment"); // TODO: use postToast for this?
|
||||||
xhr.setRequestHeader('xhr', 'xhr');
|
xhr.setRequestHeader('xhr', 'xhr');
|
||||||
xhr.onload=function(){
|
xhr.onload=function(){
|
||||||
let data
|
let data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue