diff options
| author | tim b <timb@camcompu.home> | 2010-09-26 20:25:59 -0700 |
|---|---|---|
| committer | tim b <timb@camcompu.home> | 2010-09-26 20:25:59 -0700 |
| commit | 43cc0ff9f76335639016b1610faec2892c0457f7 (patch) | |
| tree | 4a68b9ca0ae01a04f0806b2b4c1015fece0f10c2 /static | |
| parent | 26c4553a31bd94678c49749eddc89b565ecfb0eb (diff) | |
fix search
Diffstat (limited to 'static')
| -rw-r--r-- | static/js/pichat.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index 7734aa7..4132d68 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -1354,7 +1354,7 @@ var Search = { }) } else { // search main site via jsonp $("#search-script").remove() - $("head").append("<s"+"cript src='http://dump.fm/cmd/ghettosearch/"+term+"?callback=Search.results' id='search-script'></s"+"cript>") + $("head").append("<s"+"cript src='http://dump.fm/cmd/search/"+term+"?callback=Search.results' id='search-script'></s"+"cript>") } }, @@ -1378,8 +1378,8 @@ var Search = { return false } else return true }, - // 'results' - 'searchResult': function(results){ + + 'results': function(results){ Search.resultsClear() if(results === null || results.length == 0) { Search.setMessage("no results found") @@ -1522,7 +1522,7 @@ function MM_swapImage() { //v3.0 function timeFunc(f){ var start = new Date().getTime(); var res = f(); - console.log((new Date().getTime()) - start + " msecs"); +// console.log((new Date().getTime()) - start + " msecs"); return res; } |
