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 abb8a5aa3759abac941b9267e3fca83d3e62c2a5..055f1cb59b70c0774f83fb9ed0d6414161407193 100644 |
--- a/ui/webui/resources/js/cr/ui/bubble.js |
+++ b/ui/webui/resources/js/cr/ui/bubble.js |
@@ -191,9 +191,9 @@ cr.define('cr.ui', function() { |
left = Math.max(Math.min(left, maxLeftPos), minLeftPos); |
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 |