зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1589169 - Stop calling _addTextContentWithHighlights for the tip text. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D49468 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
e897e72031
Коммит
e928de6825
|
@ -830,7 +830,7 @@ class UrlbarView {
|
|||
let title = item._elements.get("title");
|
||||
|
||||
if (result.type == UrlbarUtils.RESULT_TYPE.TIP) {
|
||||
this._addTextContentWithHighlights(title, result.payload.text, []);
|
||||
title.textContent = result.payload.text;
|
||||
let tipButton = item._elements.get("tipButton");
|
||||
tipButton.textContent = result.payload.buttonText;
|
||||
// Tips are dissimilar to other types of results and don't need the rest
|
||||
|
|
Загрузка…
Ссылка в новой задаче