Highlight does not care about case
This commit is contained in:
parent
3b6683cb55
commit
5fd17156fb
@ -294,7 +294,7 @@ angular.module("AtsebaytApp")
|
||||
|
||||
$('.card-text').each(function (k, i) {
|
||||
var e = $(i)
|
||||
e.html(e.text().replace(new RegExp('(' + words + ')', 'g'), '<span class="bg-warning">$1</span>'))
|
||||
e.html(e.text().replace(new RegExp('(' + words + ')', 'gi'), '<span class="bg-warning">$1</span>'))
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user