| Index: chrome/browser/resources/bookmark_manager/js/main.js
|
| diff --git a/chrome/browser/resources/bookmark_manager/js/main.js b/chrome/browser/resources/bookmark_manager/js/main.js
|
| index f9cb6eabe0f1dcde89afc94ebcbaf88c4ada2785..386d7db560f01cca6265a1dfb7ba2eaa36e5435a 100644
|
| --- a/chrome/browser/resources/bookmark_manager/js/main.js
|
| +++ b/chrome/browser/resources/bookmark_manager/js/main.js
|
| @@ -668,20 +668,7 @@ function updateEditingCommands() {
|
| });
|
| }
|
|
|
| -function rateLimit(func, ms) {
|
| - if (func.rateLimitId_) {
|
| - clearTimeout(func.rateLimitId_);
|
| - delete func.rateLimitId_;
|
| - }
|
| - func.rateLimitId_ = setTimeout(func, ms);
|
| -}
|
| -
|
| -function handleChangeForTree() {
|
| - // This should be rate limited based on the keyboard repeat rate.
|
| - rateLimit(handleChangeForTreeHelper, 50);
|
| -}
|
| -
|
| -function handleChangeForTreeHelper() {
|
| +function handleChangeForTree(e) {
|
| updateAllCommands();
|
| navigateTo(tree.selectedItem.bookmarkId, updateHash);
|
| }
|
|
|