aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2019-06-04 23:21:55 +0200
committerFeuerfuchs <git@feuerfuchs.dev>2019-06-04 23:21:55 +0200
commit191f44fb46d1b9dbf6835dabd8c91597acd1f4d3 (patch)
tree9dca14405d7d299266274339f1708b6b74909be4
parentStyle improvements (diff)
downloadgopherproxy-191f44fb46d1b9dbf6835dabd8c91597acd1f4d3.tar.gz
gopherproxy-191f44fb46d1b9dbf6835dabd8c91597acd1f4d3.tar.bz2
gopherproxy-191f44fb46d1b9dbf6835dabd8c91597acd1f4d3.zip
Fix broken JS due to class name change
-rw-r--r--template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.go b/template.go
index 9582e3a..e7c6634 100644
--- a/template.go
+++ b/template.go
@@ -18,7 +18,7 @@ var tpltext = `<!doctype html>
18{{end}}{{else}}{{.RawText}}{{end}}</pre> 18{{end}}{{else}}{{.RawText}}{{end}}</pre>
19</main> 19</main>
20<script type="text/javascript"> 20<script type="text/javascript">
21var qry=document.getElementsByClassName('QRY') 21var qry=document.getElementsByClassName('link-QRY')
22var i=qry.length 22var i=qry.length
23while (i--) { 23while (i--) {
24 qry[i].addEventListener('click', function(e) { 24 qry[i].addEventListener('click', function(e) {