mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-02-10 18:05:32 +08:00
add searching font without first and last spaces
This commit is contained in:
@ -483,10 +483,11 @@ define([
|
||||
this._isMouseDownMenu = false; return;
|
||||
}
|
||||
|
||||
var val = $(e.target).val().trim(),
|
||||
var val = $(e.target).val(),
|
||||
record = {};
|
||||
|
||||
if(val != $(e.target).val()){
|
||||
if(!this._selectedItem && (val !== $(e.target).val().trim())) {
|
||||
val = $(e.target).val().trim();
|
||||
$(e.target).val(val);
|
||||
this.selectCandidate(true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user