diff options
author | FChannel <> | 2022-06-12 23:04:13 -0700 |
---|---|---|
committer | FChannel <> | 2022-06-19 12:53:29 -0700 |
commit | cc3e8e57154409469267b0526807a907d5166147 (patch) | |
tree | 59acbf28290c8658a538f8843a1d0d9e1a598baf /views/manage.html | |
parent | 0418dab57f9cf19540234d157a512e30a70a7152 (diff) |
admin page layout/css - truncate long new line posts
Diffstat (limited to 'views/manage.html')
-rw-r--r-- | views/manage.html | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/views/manage.html b/views/manage.html index e3c03a0..e51644e 100644 --- a/views/manage.html +++ b/views/manage.html @@ -80,14 +80,3 @@ {{ template "partials/footer" .page }} {{ template "partials/general_scripts" .page }} - -<script> - var reported = document.querySelectorAll('#rpost'); - var reportedArray = [].slice.call(reported); - - reportedArray.forEach(function(r, i){ - var id = r.getAttribute("post") - r.innerText = "/" + {{ .page.Board.Name }} + "/" + shortURL("{{ .page.Board.Actor.Id }}", id) - r.href = {{ .page.Domain }} + "/" + {{ .page.Board.Name }} + "/" + shortURL("{{ .page.Board.Actor.Id }}", id) - }) -</script> |