mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 14:44:43 -04:00
Improved overall textcomplete performance and more cases and UX handling
This commit is contained in:
parent
88e6e8522f
commit
25dd400708
2 changed files with 49 additions and 23 deletions
|
@ -202,7 +202,9 @@ if (typeof jQuery === 'undefined') {
|
|||
// Ignore shift-key, ctrl-key and so on.
|
||||
if (skipUnchangedTerm && this._term === term) { return; }
|
||||
this._term = term;
|
||||
this.fire('textComplete:beforeSearch');
|
||||
this._search.apply(this, searchQuery);
|
||||
this.fire('textComplete:afterSearch');
|
||||
} else {
|
||||
this._term = null;
|
||||
this.dropdown.deactivate();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue