fix: don't show replies in main timelines
fix: add ui debounce fix: make usernames case insensitive
This commit is contained in:
parent
9f4e8a4d25
commit
8a9394a06a
6 changed files with 14 additions and 8 deletions
|
@ -75,8 +75,9 @@
|
|||
</form>
|
||||
|
||||
<script>
|
||||
function register(e) {
|
||||
async function register(e) {
|
||||
e.preventDefault();
|
||||
await trigger("atto::debounce", ["users::create"]);
|
||||
fetch("/api/v1/auth/register", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
|
|
@ -65,8 +65,9 @@
|
|||
</div>
|
||||
|
||||
<script>
|
||||
function create_post_from_form(e) {
|
||||
async function create_post_from_form(e) {
|
||||
e.preventDefault();
|
||||
await trigger("atto::debounce", ["posts::create"]);
|
||||
fetch("/api/v1/posts", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
|
|
@ -58,8 +58,9 @@
|
|||
</main>
|
||||
|
||||
<script>
|
||||
function create_community_from_form(e) {
|
||||
async function create_community_from_form(e) {
|
||||
e.preventDefault();
|
||||
await trigger("atto::debounce", ["communities::create"]);
|
||||
fetch("/api/v1/communities", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
|
|
@ -141,8 +141,9 @@
|
|||
</main>
|
||||
|
||||
<script>
|
||||
function create_reply_from_form(e) {
|
||||
async function create_reply_from_form(e) {
|
||||
e.preventDefault();
|
||||
await trigger("atto::debounce", ["posts::create"]);
|
||||
fetch("/api/v1/posts", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue