support extended colors in nicklist

This commit is contained in:
Tor Hveem 2013-10-27 11:04:43 +01:00
parent e8e44d85ce
commit 4596c129f1
1 changed files with 6 additions and 0 deletions

View File

@ -211,7 +211,13 @@ models.service('models', ['$rootScope', '$filter', function($rootScope, $filter)
return [
'cwf-' + color
];
} else if (color.match(/^[0-9]+$/)) {
// extended color
return [
'cef-' + color
];
}
}
return [