forked from GitHub/dbot
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) {
|
function searchNotifies(q) {
|
||||||
var notifies = document.getElementById('notifies');
|
var notifies = document.getElementById('notifies');
|
||||||
for (var i=1, row; row=notifies.rows[i]; i++) {
|
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';
|
row.style.display = 'none';
|
||||||
} else {
|
} else {
|
||||||
row.style.display = '';
|
row.style.display = '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user