From 1cf61836f4e6abbd3db08c81898f535bf96bb0af Mon Sep 17 00:00:00 2001 From: Kai Hendry Date: Sun, 12 Aug 2012 15:36:50 +0200 Subject: [PATCH] dont concatenate strings with an error --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 119f01a..ae41c04 100644 --- a/main.js +++ b/main.js @@ -43,7 +43,7 @@ function grep(query) { }, function(data) { search(query, data); - }).error(function(x) { console.log("AJAX JSON-P error: " + x); }); + }).error(function(x) { console.log("AJAX JSON-P error: ", x); }); } }