From 8a08f948fc705246efa89fa30049893b60b618d1 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Sat, 13 Sep 2014 18:25:33 +0900 Subject: [PATCH] Correctly handle minScore form value --- client/application.js | 2 +- client/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/application.js b/client/application.js index 5a2ee8a..37fd0fd 100644 --- a/client/application.js +++ b/client/application.js @@ -30,7 +30,7 @@ var params = { keywords: $('#keywords').val(), searchRange: { min: -1.0, max: 1.0 }, - minScore: parseInt($('#minScore').val()), + minScore: parseFloat($('#minScore').val()), hintSteps: parseInt($('#hintSteps').val()), maxResults: parseInt($('#maxResults').val()) }; diff --git a/client/index.html b/client/index.html index 0076e6b..97a7cbc 100644 --- a/client/index.html +++ b/client/index.html @@ -27,7 +27,7 @@
- +