Skip to content

Commit 0af3841

Browse files
committed
fix topic label color
1 parent 7373966 commit 0af3841

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

public/js/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2149,7 +2149,7 @@ function initTopicbar() {
21492149
var topicArray = topics.split(",");
21502150
var last = viewDiv.children("a").last();
21512151
for (var i=0;i < topicArray.length; i++) {
2152-
$('<div class="ui label teal topic" style="cursor:pointer;">'+topicArray[i]+'</div>').insertBefore(last)
2152+
$('<div class="ui green basic label topic" style="cursor:pointer;">'+topicArray[i]+'</div>').insertBefore(last)
21532153
}
21542154
}
21552155
}).done(function() {
@@ -2166,10 +2166,11 @@ function initTopicbar() {
21662166
transition : 'horizontal flip',
21672167
duration : 200,
21682168
variation : false,
2169-
teal : true
2169+
blue : true,
2170+
basic: true,
21702171
},
21712172
className: {
2172-
label: 'ui label teal'
2173+
label: 'ui green basic label'
21732174
},
21742175
apiSettings: {
21752176
url: suburl + '/api/v1/topics/search?q={query}',

0 commit comments

Comments
 (0)