forked from GNUsocial/gnu-social
Added credit to rgb2hex() author
This commit is contained in:
parent
80ad02610a
commit
5f3af3e121
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user