Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: ui/webui/resources/cr_elements/cr_scrollable_behavior.js

Issue 2664613002: Drop .clang-format in ui/webui now that Chromium JS defaults are the same (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/webui/resources/.clang-format ('k') | ui/webui/resources/js/analytics.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5589c18ed448bc8ab46ad12fd051340f5f9d6e78..1858ccffd07cde6c343ae84479f8a9c344b99457 100644
--- a/ui/webui/resources/cr_elements/cr_scrollable_behavior.js
+++ b/ui/webui/resources/cr_elements/cr_scrollable_behavior.js
@@ -113,7 +113,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);
},
};
« no previous file with comments | « ui/webui/resources/.clang-format ('k') | ui/webui/resources/js/analytics.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698