summaryrefslogtreecommitdiff
path: root/js/userdesign.go.js
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@controlyourself.ca>2009-07-31 19:31:23 +0000
committerSarven Capadisli <csarven@controlyourself.ca>2009-07-31 19:31:23 +0000
commit5f3af3e121a7ff06f5961bb4158e0b777ce5b5c1 (patch)
treed203cc35cd8697d24029c7a6b88b489b61702a50 /js/userdesign.go.js
parent80ad02610a428bef62b18e284e15ca847a435cde (diff)
Added credit to rgb2hex() author
Diffstat (limited to 'js/userdesign.go.js')
-rw-r--r--js/userdesign.go.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/js/userdesign.go.js b/js/userdesign.go.js
index 70dd9c7de..4416dc8ae 100644
--- a/js/userdesign.go.js
+++ b/js/userdesign.go.js
@@ -27,6 +27,7 @@ $(document).ready(function() {
}
}
+ /* rgb2hex written by R0bb13 <robertorebollo@gmail.com> */
function rgb2hex(rgb) {
rgb = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);
function hex(x) {