diff options
| author | tim b <timb@camcompu.home> | 2010-09-22 10:20:50 -0700 |
|---|---|---|
| committer | tim b <timb@camcompu.home> | 2010-09-22 10:20:50 -0700 |
| commit | c14c9b94c87a5a0d54158a1b45c20f66d4607aa1 (patch) | |
| tree | 5a3871b9115dfb9398ac78087e58eece23228596 /static | |
| parent | eed56ac08e3b8a19878c2b902f83a2bb9b7f916b (diff) | |
i'm dumb
Diffstat (limited to 'static')
| -rw-r--r-- | static/js/pichat.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index f4d7193..0ee71bc 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -992,14 +992,12 @@ var Search = { 'searchResult': function(results){ Search.images = [] - var alreadyGot = {} if(results === null || results.length == 0) { Search.setContent("") Search.setMessage("no results found") } else { - for(var r = 0; r<results.length; r++){ - Search.images.push(results.url) - } + for(var r = 0; r<results.length; r++) + Search.images.push(results[r].url) Search.renderPage(0) } }, |
