1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 15:32:28 +02:00

code review

This commit is contained in:
gorhill 2015-01-06 08:44:19 -05:00
parent c46134e4e3
commit 3a5c2cfa57
2 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
body { body {
border: 0; border: 0;
box-sizing: border-box; box-sizing: border-box;
font: 11px monospace; font: 12px monospace;
margin: 0; margin: 0;
overflow-x: hidden; overflow-x: hidden;
padding: 0; padding: 0;
@ -58,11 +58,12 @@ body {
border-right: none; border-right: none;
width: 75%; width: 75%;
} }
#content table tr td:nth-of-type(3) b {
font-weight: normal;
}
#content table tr.blocked td:nth-of-type(3) b { #content table tr.blocked td:nth-of-type(3) b {
background-color: rgba(192, 0, 0, 0.2); background-color: rgba(192, 0, 0, 0.2);
font-weight: normal;
} }
#content table tr.allowed td:nth-of-type(3) b { #content table tr.allowed td:nth-of-type(3) b {
background-color: rgba(0, 160, 0, 0.2); background-color: rgba(0, 160, 0, 0.2);
font-weight: normal;
} }

View File

@ -309,6 +309,7 @@ NetFilteringResultCache.prototype.dispose = function() {
clearTimeout(this.timer); clearTimeout(this.timer);
this.timer = null; this.timer = null;
} }
this.boundPruneAsyncCallback = null;
if ( netFilteringCacheJunkyard.length < netFilteringCacheJunkyardMax ) { if ( netFilteringCacheJunkyard.length < netFilteringCacheJunkyardMax ) {
netFilteringCacheJunkyard.push(this); netFilteringCacheJunkyard.push(this);
} }