fix: global question answering
This commit is contained in:
parent
0f556bb7c8
commit
50319f9124
2 changed files with 1 additions and 7 deletions
|
@ -61,11 +61,7 @@
|
|||
await trigger(\"atto::debounce\", [\"posts::create\"]);
|
||||
|
||||
// poll
|
||||
const poll_data = get_poll_data();
|
||||
|
||||
if (!poll_data[0]) {
|
||||
return alert(poll_data[1]);
|
||||
}
|
||||
const poll_data = [true, null];
|
||||
|
||||
// create body
|
||||
const body = new FormData();
|
||||
|
|
|
@ -95,7 +95,6 @@ media_theme_pref();
|
|||
const day_diff = Math.floor(diff / 86400);
|
||||
|
||||
if (Number.isNaN(day_diff) || day_diff < 0 || day_diff >= 31) {
|
||||
console.log(diff);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -182,7 +181,6 @@ media_theme_pref();
|
|||
|
||||
element.setAttribute("title", then.toLocaleString());
|
||||
|
||||
console.log($.rel_date(then));
|
||||
const pretty =
|
||||
$.rel_date(then)
|
||||
.replaceAll(" minutes ago", "m")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue