summaryrefslogtreecommitdiff
path: root/luci2
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2014-01-31 21:38:42 +0000
committerJo-Philipp Wich <jow@openwrt.org>2014-01-31 21:38:42 +0000
commit203c7e1dc5b4968efaf97d13523c1c8ee6ff4364 (patch)
tree7714b8d8d3c36489a12b577dcd7b31b9ea261815 /luci2
parent3c884108e834be975aacee8d2e5c0607cc3c92e7 (diff)
downloadluci2-ui-203c7e1dc5b4968efaf97d13523c1c8ee6ff4364.tar.gz
luci2: fix typo in LuCI2.firewall.getZoneColor()
Diffstat (limited to 'luci2')
-rw-r--r--luci2/htdocs/luci2/luci2.js2
1 files changed, 1 insertions, 1 deletions
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;
},