diff options
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> |