aboutsummaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorFelix Hanley <felix@userspace.com.au>2017-06-19 02:39:36 +0000
committerFelix Hanley <felix@userspace.com.au>2017-06-19 02:39:36 +0000
commit3c1f5a701982383d57a4e14add182a2ce6f5c18d (patch)
treeb7e402cda423e098ed6876e355d499ee2c3e4e13 /http.go
parent28cef407970b23af1873f041d92117f759938fb8 (diff)
downloaddhtsearch-3c1f5a701982383d57a4e14add182a2ce6f5c18d.tar.gz
dhtsearch-3c1f5a701982383d57a4e14add182a2ce6f5c18d.tar.bz2
Require character class tags to have at least 3 characters
Diffstat (limited to 'http.go')
-rw-r--r--http.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http.go b/http.go
index 9f3e673..c950f0a 100644
--- a/http.go
+++ b/http.go
@@ -233,7 +233,7 @@ var search = function (term, page) {
].join('')
}).join('')
var post = [
- '</ul><p>'
+ '</ul><p>',
(data.page > 1) ? '<a class="pager prev" href="#">Previous</a>&nbsp;' : '',
(data.torrents.length === data.page_size) ? '<a class="pager next" href="#">Next</a>' : '',
'</p>'].join('')