aboutsummaryrefslogtreecommitdiff
path: root/views/partials/top.html
diff options
context:
space:
mode:
authorFChannel <>2022-06-14 16:43:11 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commita4621a1d4ee2c307dded842d5866ac9de76a40b4 (patch)
tree1667d5692213e5b3d11a0852793c0b4c4e021335 /views/partials/top.html
parent7306338e7f23d652b6b0bfecddcee408a4227169 (diff)
set retry on fail POST req. might be pointless though
since other parts require requests that cannont be delayed
Diffstat (limited to 'views/partials/top.html')
-rw-r--r--views/partials/top.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/partials/top.html b/views/partials/top.html
index dddb206..73da840 100644
--- a/views/partials/top.html
+++ b/views/partials/top.html
@@ -9,7 +9,7 @@
<h3 id="newpostbtn" state="0" style="display: none; margin-bottom:100px;">[<a href="javascript:startNewPost()">Start a New Thread</a>]</h3>
{{ end }} <!-- end if inreplyto-->
<div id="newpost">
- <form onsubmit="sessionStorage.setItem('element-closed-reply', true)" id="new-post" action="/{{ .Board.Name }}" method="post" enctype="multipart/form-data">
+ <form onsubmit="sessionStorage.setItem('element-closed-reply', true)" id="new-post" action="/post" method="post" enctype="multipart/form-data">
<table id="postForm">
<tr>
<tr>
@@ -66,7 +66,7 @@
{{ end }} <!-- end if inreplyto-->
{{ $len := len .Posts }}
<div id="newpost">
- <form onsubmit="sessionStorage.setItem('element-closed-reply', true)" id="new-post" action="/{{ .Board.Name }}" method="post" enctype="multipart/form-data">
+ <form onsubmit="sessionStorage.setItem('element-closed-reply', true)" id="new-post" action="/post" method="post" enctype="multipart/form-data">
<table id="postForm">
<tr>
<tr>