From 47fd9262af1244e943934e37b0ab4bb8e6cde25e Mon Sep 17 00:00:00 2001 From: gorhill Date: Tue, 9 Jun 2015 17:16:28 -0400 Subject: [PATCH] minor code review --- src/js/static-net-filtering.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/static-net-filtering.js b/src/js/static-net-filtering.js index be01cc9c5..84cee8030 100644 --- a/src/js/static-net-filtering.js +++ b/src/js/static-net-filtering.js @@ -212,8 +212,8 @@ var strToRegex = function(s, anchor, flags) { return new RegExp(reStr, flags); }; -var toHex = function(category) { - return category.toString(16); +var toHex = function(n) { + return n.toString(16); }; /*******************************************************************************