Fixed a bug where comments could be submitted without any content
and where the hitcount was incremented before the program checked if the post existed
This commit is contained in:
@@ -36,6 +36,10 @@ a:hover {
|
||||
hr {
|
||||
color: white;
|
||||
}
|
||||
.comment:nth-child(even) {
|
||||
background: #1E1E1E;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: light) {
|
||||
@@ -46,4 +50,7 @@ a:hover {
|
||||
hr {
|
||||
color: black;
|
||||
}
|
||||
.comment:nth-child(even) {
|
||||
background: #EEEEEE;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user