From 203c7e1dc5b4968efaf97d13523c1c8ee6ff4364 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 31 Jan 2014 21:38:42 +0000 Subject: [PATCH] luci2: fix typo in LuCI2.firewall.getZoneColor() --- luci2/htdocs/luci2/luci2.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luci2/htdocs/luci2/luci2.js b/luci2/htdocs/luci2/luci2.js index 8d250cd..f41a819 100644 --- a/luci2/htdocs/luci2/luci2.js +++ b/luci2/htdocs/luci2/luci2.js @@ -1320,7 +1320,7 @@ function LuCI2() for (var i = 0, color = '#'; i < 3; - color += ('00' + ((hash >> i++ * 8) & 0xFF).tozoneing(16)).slice(-2)); + color += ('00' + ((hash >> i++ * 8) & 0xFF).tostring(16)).slice(-2)); return color; }, -- 2.30.2