forked from Botanical/BotanJS
Match all
This commit is contained in:
parent
041617f0b4
commit
9e310a6fe2
@ -349,7 +349,7 @@
|
||||
{
|
||||
var Cand = IDOMElement( c[i] );
|
||||
var t = Cand.getDAttribute( "key" );
|
||||
Cand.style.display = t.match( new RegExp( "^" + keyword, "i" ) ) ? "" : "none";
|
||||
Cand.style.display = t.match( new RegExp( keyword, "i" ) ) ? "" : "none";
|
||||
|
||||
// Highlight the exact match
|
||||
if( t.match( new RegExp( "^" + keyword + "$", "i" ) ) )
|
||||
|
Loading…
Reference in New Issue
Block a user