Skip to content

Commit

Permalink
fix topic label color
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Apr 9, 2018
1 parent 7373966 commit 0af3841
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions public/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2149,7 +2149,7 @@ function initTopicbar() {
var topicArray = topics.split(",");
var last = viewDiv.children("a").last();
for (var i=0;i < topicArray.length; i++) {
$('<div class="ui label teal topic" style="cursor:pointer;">'+topicArray[i]+'</div>').insertBefore(last)
$('<div class="ui green basic label topic" style="cursor:pointer;">'+topicArray[i]+'</div>').insertBefore(last)
}
}
}).done(function() {
Expand All @@ -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}',
Expand Down

0 comments on commit 0af3841

Please sign in to comment.