enforce a min length on jump to slide search queries
This commit is contained in:
1 parent
60769db4ee
commit
fb1fecd754
5 files changed
+5
-5
No files matched your search
@@ -75,7 +75,7 @@ export default class JumpToSlide {
|
||||
indices = this.search( query );
|
||||
}
|
||||
|
||||
if( indices && query !== '' ) {
|
||||
if( indices && query !== '' && query.length > 1 ) {
|
||||
this.Reveal.slide( indices.h, indices.v, indices.f );
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user