diff options
-rw-r--r-- | template/en/default/search/boolean-charts.html.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template/en/default/search/boolean-charts.html.tmpl b/template/en/default/search/boolean-charts.html.tmpl index 6f63f64bb..90234d2b4 100644 --- a/template/en/default/search/boolean-charts.html.tmpl +++ b/template/en/default/search/boolean-charts.html.tmpl @@ -52,7 +52,7 @@ [%# Whoever wrote the original version of boolean charts had a seriously twisted mind %] -[% jsmagic = "onclick=\"document.forms[0].action='query.cgi#chart'; document.forms[0].method='POST'; return 1;\"" %] +[% jsmagic = "onclick=\"this.form.action='query.cgi#chart'; this.form.method='POST'; return 1;\"" %] [% FOREACH chart = default.charts %] [% chartnum = loop.count - 1 %] |