aboutsummaryrefslogtreecommitdiffstats
path: root/web/js.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/js.js')
-rw-r--r--web/js.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/web/js.js b/web/js.js
index f0f5a2194..6f97732e0 100644
--- a/web/js.js
+++ b/web/js.js
@@ -313,8 +313,7 @@ function load_pins(x, y) {
'all_pins=' + document.getElementById('all_pins').value ];
if (document.getElementById('extra_param')) {
- ajax_params.push('extra_param_name=' + document.getElementById('extra_param').name);
- ajax_params.push('extra_param_value=' + document.getElementById('extra_param').value);
+ ajax_params.push(document.getElementById('extra_param').name + '=' + document.getElementById('extra_param').value);
}
var separator;