From 0af38410fe4f45e254e4d68c5b99e07d5ac327a1 Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Thu, 29 Mar 2018 19:45:59 +0800 Subject: [PATCH] fix topic label color --- public/js/index.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/js/index.js b/public/js/index.js index a0eea8929744..d3736da974a8 100644 --- a/public/js/index.js +++ b/public/js/index.js @@ -2149,7 +2149,7 @@ function initTopicbar() { var topicArray = topics.split(","); var last = viewDiv.children("a").last(); for (var i=0;i < topicArray.length; i++) { - $('
'+topicArray[i]+'
').insertBefore(last) + $('
'+topicArray[i]+'
').insertBefore(last) } } }).done(function() { @@ -2166,10 +2166,11 @@ function initTopicbar() { transition : 'horizontal flip', duration : 200, variation : false, - teal : true + blue : true, + basic: true, }, className: { - label: 'ui label teal' + label: 'ui green basic label' }, apiSettings: { url: suburl + '/api/v1/topics/search?q={query}',