mirror of
https://gitlab.com/commento/commento.git
synced 2026-11-01 01:16:21 -05:00
commento.js: show error when comment link is 404
Signed-off-by: Adhityaa Chandrasekar <adtac@adtac.in>
This commit is contained in:
1 parent
aaa44a0bee
commit
18612933f6
2 files changed
+2
-1
No files matched your search
@@ -2107,6 +2107,7 @@
|
||||
if (window.location.hash.startsWith("#commento-")) {
|
||||
var el = $(ID_CARD + window.location.hash.split("-")[1]);
|
||||
if (el === null) {
|
||||
errorShow("The comment you're looking for no longer exists. Perhaps it was deleted by the commenter or a moderator?");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user