mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
code review
This commit is contained in:
parent
5f4d975966
commit
7ffbfdaf10
1 changed files with 0 additions and 7 deletions
|
|
@ -156,18 +156,11 @@ var renderLogEntry = function(entry) {
|
||||||
tr.cells[0].textContent = ' -\u00A0';
|
tr.cells[0].textContent = ' -\u00A0';
|
||||||
} else if ( entry.result.charAt(1) === 'a' ) {
|
} else if ( entry.result.charAt(1) === 'a' ) {
|
||||||
tr.classList.add('allowed');
|
tr.classList.add('allowed');
|
||||||
if ( entry.result.charAt(0) === 'm' ) {
|
|
||||||
tr.classList.add('mirrored');
|
|
||||||
}
|
|
||||||
tr.cells[0].textContent = ' +\u00A0';
|
tr.cells[0].textContent = ' +\u00A0';
|
||||||
} else {
|
} else {
|
||||||
tr.cells[0].textContent = '';
|
tr.cells[0].textContent = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( entry.type === 'main_frame' ) {
|
|
||||||
tr.classList.add('maindoc');
|
|
||||||
}
|
|
||||||
|
|
||||||
var filterText = entry.result.slice(3);
|
var filterText = entry.result.slice(3);
|
||||||
if ( entry.result.lastIndexOf('sa', 0) === 0 ) {
|
if ( entry.result.lastIndexOf('sa', 0) === 0 ) {
|
||||||
filterText = '@@' + filterText;
|
filterText = '@@' + filterText;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue