Index: ui/webui/resources/js/cr/link_controller.js |
diff --git a/ui/webui/resources/js/cr/link_controller.js b/ui/webui/resources/js/cr/link_controller.js |
index 589f6aa39fff66abbf3a50a08e7cb9c3d168058b..67515e8b9f00a276204c837ead06ed879e2f25ec 100644 |
--- a/ui/webui/resources/js/cr/link_controller.js |
+++ b/ui/webui/resources/js/cr/link_controller.js |
@@ -46,7 +46,9 @@ cr.define('cr', function() { |
* links. |
* @constructor |
*/ |
- function LinkController(localStrings) { this.localStrings_ = localStrings; } |
+ function LinkController(localStrings) { |
+ this.localStrings_ = localStrings; |
+ } |
LinkController.prototype = { |
/** |
@@ -99,7 +101,9 @@ cr.define('cr', function() { |
* @param {string} url The URL to open. |
* @param {cr.LinkKind} kind The kind of open we want to do. |
*/ |
- openUrl: function(url, kind) { this.openUrls([url], kind); }, |
+ openUrl: function(url, kind) { |
+ this.openUrls([url], kind); |
+ }, |
/** |
* Opens URLs in new tab, window or incognito mode. |
@@ -118,8 +122,9 @@ cr.define('cr', function() { |
// Fix '#124' URLs since opening those in a new window does not work. We |
// prepend the base URL when we encounter those. |
var base = this.window.location.href.split('#')[0]; |
- urls = |
- urls.map(function(url) { return url[0] == '#' ? base + url : url; }); |
+ urls = urls.map(function(url) { |
+ return url[0] == '#' ? base + url : url; |
+ }); |
var incognito = kind == cr.LinkKind.INCOGNITO; |
if (kind == cr.LinkKind.WINDOW || incognito) { |