diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-04 23:21:55 +0200 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-04 23:21:55 +0200 |
commit | 191f44fb46d1b9dbf6835dabd8c91597acd1f4d3 (patch) | |
tree | 9dca14405d7d299266274339f1708b6b74909be4 | |
parent | Style improvements (diff) | |
download | gopherproxy-191f44fb46d1b9dbf6835dabd8c91597acd1f4d3.tar.gz gopherproxy-191f44fb46d1b9dbf6835dabd8c91597acd1f4d3.tar.bz2 gopherproxy-191f44fb46d1b9dbf6835dabd8c91597acd1f4d3.zip |
Fix broken JS due to class name change
-rw-r--r-- | template.go | 2 |
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"> |
21 | var qry=document.getElementsByClassName('QRY') | 21 | var qry=document.getElementsByClassName('link-QRY') |
22 | var i=qry.length | 22 | var i=qry.length |
23 | while (i--) { | 23 | while (i--) { |
24 | qry[i].addEventListener('click', function(e) { | 24 | qry[i].addEventListener('click', function(e) { |