Skip to content

Commit

Permalink
Use colorized underline for highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
nevesnunes committed Feb 13, 2016
1 parent 9879d0e commit 1e52db0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,9 +144,9 @@ function highlightText(text, query) {
let tokensLength = tokens.length;
for (let i = 0; i < tokensLength; i++) {
if (tokens[i].match(tokenRegExp)) {
result += '<span background=\"#4a90d9\" foreground=\"#ffffff\">' +
result += '<u><span underline_color=\"#4a90d9\" foreground=\"#ffffff\">' +
tokens[i] +
'</span>';
'</span></u>';
} else {
result += tokens[i];
}
Expand Down

0 comments on commit 1e52db0

Please sign in to comment.