diff options
| author | tim b <timb@camcompu.home> | 2010-09-26 21:01:44 -0700 |
|---|---|---|
| committer | tim b <timb@camcompu.home> | 2010-09-26 21:01:44 -0700 |
| commit | 223b83a5ad0eeb909349c0fb1213e1ac2be85d16 (patch) | |
| tree | 5a95271d03b9aec6c3559c92122d07e15ddda2a5 /static/js/pichat.js | |
| parent | cb33be434eafe47c7298f12e43fb54a820b0a41c (diff) | |
fix onclick... hide userlist when search
Diffstat (limited to 'static/js/pichat.js')
| -rw-r--r-- | static/js/pichat.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/static/js/pichat.js b/static/js/pichat.js index 9480644..0dc8677 100644 --- a/static/js/pichat.js +++ b/static/js/pichat.js @@ -1283,6 +1283,7 @@ var Search = { if (Search.$container[0].style.display != "block") { Search.$container.css("display", "block") + $("#userList").css("display", "none") Search.setMessage("results for '"+Search.tokens.join(" and ")+"'") } @@ -1307,7 +1308,7 @@ var Search = { ctx.drawImage(img, 0, 0, c.width, c.height) var a = document.createElement("a") - a.onClick = falseFunc + a.onclick = falseFunc a.href = img.src a.style.width = width + "px" a.style.height = height + "px" @@ -1405,6 +1406,7 @@ var Search = { Search.closed = true Search.$container.css("display", "none") $("#search-controls").css("display", "none") + $("#userList").css("display", "block") } } |
