aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2013-03-08 12:29:49 +0000
committerMatthew Somerville <matthew@mysociety.org>2013-03-08 12:29:49 +0000
commitb7d4f24f4edbb93e3a6b746b90ead8ca16374d42 (patch)
tree40d99635a5fa2b0c8e11b73027d7094b80e68024
parentbec8672d42f9efa607caa03059f6e2a4a85616eb (diff)
Don't autosubmit autocomplete on Zurich.
-rw-r--r--templates/web/zurich/around/intro.html5
1 files changed, 0 insertions, 5 deletions
diff --git a/templates/web/zurich/around/intro.html b/templates/web/zurich/around/intro.html
index f7a4904e3..b60fa7388 100644
--- a/templates/web/zurich/around/intro.html
+++ b/templates/web/zurich/around/intro.html
@@ -5,11 +5,6 @@
$(function() {
$( "#pc" ).autocomplete({
minLength: 3,
- select: function(event, ui) {
- $(this).val(ui.item.value);
- this.form.submit();
- return true;
- },
source: "/ajax/geocode"
});
});