aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/components/header.jsx.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/components/header.jsx.js')
-rw-r--r--web/src/js/components/header.jsx.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/web/src/js/components/header.jsx.js b/web/src/js/components/header.jsx.js
index d9eefce9..a975f57b 100644
--- a/web/src/js/components/header.jsx.js
+++ b/web/src/js/components/header.jsx.js
@@ -165,11 +165,7 @@ var MainMenu = React.createClass({
this.refs["highlight-" + Math.max(0, index - 1)].focus();
},
getColor: function (index) {
- var colors = [
- "#ff7f0e", "#2ca02c", "#d62728", "#9467bd", "#1f77b4", "#bcbd22", "#17becf",
- "#ffbb78", "#98df8a", "#ff9896", "#c5b0d5", "#aec7e8", "#dbdb8d", "#9edae5"
- ];
- return colors[index % colors.length];
+ return HighlightColors[index];
},
render: function () {
var highlightFilterInputs = [];