luci2: fix typo in LuCI2.firewall.getZoneColor()
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 31 Jan 2014 21:38:42 +0000 (21:38 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 31 Jan 2014 21:38:42 +0000 (21:38 +0000)
luci2/htdocs/luci2/luci2.js

index 8d250cd..f41a819 100644 (file)
@@ -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;
                },