append label only when formatted is not undefined
This commit is contained in:
parent
e78cf7759e
commit
701e84ea21
@ -883,9 +883,9 @@ the specific language governing permissions and limitations under the Apache Lic
|
|||||||
formatted=opts.formatResult(result, label, query, self.opts.escapeMarkup);
|
formatted=opts.formatResult(result, label, query, self.opts.escapeMarkup);
|
||||||
if (formatted!==undefined) {
|
if (formatted!==undefined) {
|
||||||
label.html(formatted);
|
label.html(formatted);
|
||||||
|
node.append(label);
|
||||||
}
|
}
|
||||||
|
|
||||||
node.append(label);
|
|
||||||
|
|
||||||
if (compound) {
|
if (compound) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user