| Index: ui/webui/resources/cr_elements/cr_scrollable_behavior.js
|
| diff --git a/ui/webui/resources/cr_elements/cr_scrollable_behavior.js b/ui/webui/resources/cr_elements/cr_scrollable_behavior.js
|
| index 38eb1777fcf1e3f10af156893e37f1077c1f0bde..2a497807d95d18c97a6229e94ffbbad498bcca2e 100644
|
| --- a/ui/webui/resources/cr_elements/cr_scrollable_behavior.js
|
| +++ b/ui/webui/resources/cr_elements/cr_scrollable_behavior.js
|
| @@ -101,7 +101,7 @@ var CrScrollableBehavior = {
|
| requestAnimationFrame(function() {
|
| var scrollableElements = this.root.querySelectorAll('[scrollable]');
|
| for (var i = 0; i < scrollableElements.length; i++)
|
| - this.updateScroll_(/** @type {!HTMLElement} */(scrollableElements[i]));
|
| + this.updateScroll_(/** @type {!HTMLElement} */ (scrollableElements[i]));
|
| }.bind(this));
|
| },
|
|
|
| @@ -145,7 +145,8 @@ var CrScrollableBehavior = {
|
| 'can-scroll', scrollable.clientHeight < scrollable.scrollHeight);
|
| scrollable.classList.toggle('is-scrolled', scrollable.scrollTop > 0);
|
| scrollable.classList.toggle(
|
| - 'scrolled-to-bottom', scrollable.scrollTop + scrollable.clientHeight >=
|
| + 'scrolled-to-bottom',
|
| + scrollable.scrollTop + scrollable.clientHeight >=
|
| scrollable.scrollHeight);
|
| },
|
| };
|
|
|