aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/nav.php2
-rw-r--r--view/js/mod_connections.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/nav.php b/include/nav.php
index eacb0f29a..7db053741 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -23,7 +23,7 @@ function nav(&$a) {
minChars: 2,
width: 250,
});
- a.setOptions({ params: { autoSubmit: true, type: 'x' }});
+ a.setOptions({ autoSubmit: true, params: { type: 'x' }});
});
diff --git a/view/js/mod_connections.js b/view/js/mod_connections.js
index b7352d336..6a7f2eaed 100644
--- a/view/js/mod_connections.js
+++ b/view/js/mod_connections.js
@@ -5,7 +5,7 @@ $(document).ready(function() {
minChars: 2,
width: 350,
});
- a.setOptions({ params: { autoSubmit: true, type: 'a' }});
+ a.setOptions({ autoSubmit: true, params: { type: 'a' }});
});