From 4596c129f1127df770d7d6fcdd05c653fdd0c48b Mon Sep 17 00:00:00 2001 From: Tor Hveem Date: Sun, 27 Oct 2013 11:04:43 +0100 Subject: [PATCH] support extended colors in nicklist --- js/models.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/models.js b/js/models.js index e8209f1..79f5070 100644 --- a/js/models.js +++ b/js/models.js @@ -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 [