1
0
mirror of synced 2024-11-22 21:16:10 +03:00

Merge pull request #1733 from flyerhzm/append-label-only-when-formatted-defined

append label only when formatted is not undefined
This commit is contained in:
Kevin Brown 2014-01-21 05:49:36 -08:00
commit 0f1372ce72

View File

@ -905,9 +905,9 @@ the specific language governing permissions and limitations under the Apache Lic
formatted=opts.formatResult(result, label, query, self.opts.escapeMarkup);
if (formatted!==undefined) {
label.html(formatted);
node.append(label);
}
node.append(label);
if (compound) {