minor code review

This commit is contained in:
gorhill 2015-07-12 08:15:09 -04:00
parent abb89fd037
commit 0b6edab923
2 changed files with 2 additions and 2 deletions

View File

@ -443,7 +443,7 @@ body[dir="rtl"] #netFilteringDialog .dialog > div.headers > span.tools {
} }
#netFilteringDialog .dialog > div.containers > div.dynamic > table.toolbar select { #netFilteringDialog .dialog > div.containers > div.dynamic > table.toolbar select {
font: 14px; font: 14px;
height: 2em; height: 2.5em;
} }
#netFilteringDialog .dialog > div.containers > div.dynamic > table.toolbar #saveRules { #netFilteringDialog .dialog > div.containers > div.dynamic > table.toolbar #saveRules {
background-color: #ffe; background-color: #ffe;

View File

@ -349,7 +349,7 @@ Matrix.prototype.evaluateCellZ = function(srcHostname, desHostname, type) {
this.z = s; this.z = s;
v = this.rules[s + ' ' + desHostname]; v = this.rules[s + ' ' + desHostname];
if ( v !== undefined ) { if ( v !== undefined ) {
v = v >> bitOffset & 3; v = v >>> bitOffset & 3;
if ( v !== 0 ) { if ( v !== 0 ) {
this.r = v; this.r = v;
return v; return v;