From 0b6edab923da0b1eab6c8464d06523ae04505aa8 Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 12 Jul 2015 08:15:09 -0400 Subject: [PATCH] minor code review --- src/css/logger-ui.css | 2 +- src/js/dynamic-net-filtering.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/css/logger-ui.css b/src/css/logger-ui.css index 95a41d508..6c2ea0db7 100644 --- a/src/css/logger-ui.css +++ b/src/css/logger-ui.css @@ -443,7 +443,7 @@ body[dir="rtl"] #netFilteringDialog .dialog > div.headers > span.tools { } #netFilteringDialog .dialog > div.containers > div.dynamic > table.toolbar select { font: 14px; - height: 2em; + height: 2.5em; } #netFilteringDialog .dialog > div.containers > div.dynamic > table.toolbar #saveRules { background-color: #ffe; diff --git a/src/js/dynamic-net-filtering.js b/src/js/dynamic-net-filtering.js index 2b8762ecb..2f916165f 100644 --- a/src/js/dynamic-net-filtering.js +++ b/src/js/dynamic-net-filtering.js @@ -349,7 +349,7 @@ Matrix.prototype.evaluateCellZ = function(srcHostname, desHostname, type) { this.z = s; v = this.rules[s + ' ' + desHostname]; if ( v !== undefined ) { - v = v >> bitOffset & 3; + v = v >>> bitOffset & 3; if ( v !== 0 ) { this.r = v; return v;