mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 06:19:24 +01:00
search by user & remove debug output
This commit is contained in:
parent
1d73115c33
commit
779ace09bf
@ -11,8 +11,8 @@ function search(q)
|
||||
function searchNotifies(q) {
|
||||
var notifies = document.getElementById('notifies');
|
||||
for (var i=1, row; row=notifies.rows[i]; i++) {
|
||||
console.log(row);
|
||||
if(row.cells[3].innerHTML.indexOf(q) == -1) {
|
||||
if(row.cells[3].innerHTML.indexOf(q) == -1 &&
|
||||
row.cells[2].innerHTML.indexOf(q) == -1) {
|
||||
row.style.display = 'none';
|
||||
} else {
|
||||
row.style.display = '';
|
||||
|
Loading…
Reference in New Issue
Block a user