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

Unified Diff: ui/webui/resources/js/cr/ui/bubble.js

Issue 2662323002: Revert of 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/js/analytics.js ('k') | ui/webui/resources/js/jstemplate_compiled.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/js/cr/ui/bubble.js
diff --git a/ui/webui/resources/js/cr/ui/bubble.js b/ui/webui/resources/js/cr/ui/bubble.js
index 167ebf3def6f6f23059c5d7be4f6ec4042343ad4..fe9703062ea44ed11851a90db373ed6b21ce0ba7 100644
--- a/ui/webui/resources/js/cr/ui/bubble.js
+++ b/ui/webui/resources/js/cr/ui/bubble.js
@@ -191,9 +191,9 @@
left = Math.max(Math.min(left, max_left_pos), min_left_pos);
var arrowTip = Math.min(
Math.max(
- arrow.width / 2,
- this.arrowAtRight_ ? left + bubble.width - anchorMid :
- anchorMid - left),
+ arrow.width / 2, this.arrowAtRight_ ?
+ left + bubble.width - anchorMid :
+ anchorMid - left),
bubble.width - arrow.width / 2);
// Work out the vertical placement, attempting to fit the bubble
« no previous file with comments | « ui/webui/resources/js/analytics.js ('k') | ui/webui/resources/js/jstemplate_compiled.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698