| Index: chrome/browser/resources/history/history.js
|
| diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js
|
| index a71592de4ee5d70587681b99c7b513c00db04f3a..9d0cae3e684503f2b5de0a5534bbea0c1675dea2 100644
|
| --- a/chrome/browser/resources/history/history.js
|
| +++ b/chrome/browser/resources/history/history.js
|
| @@ -1936,7 +1936,7 @@ function load() {
|
| searchField.blur(); // Dismiss the keyboard.
|
| };
|
|
|
| - var removeMenu = $('remove-visit');
|
| + var removeMenu = getRequiredElement('remove-visit');
|
| // Decorate remove-visit before disabling/hiding because the values are
|
| // overwritten when decorating a MenuItem that has a Command.
|
| cr.ui.decorate(removeMenu, MenuItem);
|
|
|