diff --git a/botanjs/src/Astro/Blog/AstroEdit/SmartInput/_this.js b/botanjs/src/Astro/Blog/AstroEdit/SmartInput/_this.js index d253281..15401ab 100644 --- a/botanjs/src/Astro/Blog/AstroEdit/SmartInput/_this.js +++ b/botanjs/src/Astro/Blog/AstroEdit/SmartInput/_this.js @@ -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" ) ) )