diff options
Diffstat (limited to 'chrome/browser/resources/shared/js/cr/link_controller.js')
-rw-r--r-- | chrome/browser/resources/shared/js/cr/link_controller.js | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/chrome/browser/resources/shared/js/cr/link_controller.js b/chrome/browser/resources/shared/js/cr/link_controller.js index e6241de..07e323f 100644 --- a/chrome/browser/resources/shared/js/cr/link_controller.js +++ b/chrome/browser/resources/shared/js/cr/link_controller.js @@ -134,17 +134,8 @@ cr.define('cr', function() { var incognito = kind == LinkKind.INCOGNITO; if (kind == LinkKind.WINDOW || incognito) { chrome.windows.create({ - url: urls[0], + url: urls, incognito: incognito - }, function(window) { - urls.forEach(function(url, i) { - if (i > 0) - chrome.tabs.create({ - url: url, - windowId: window.id, - selected: false - }); - }); }); } else if (kind == LinkKind.FOREGROUND_TAB || kind == LinkKind.BACKGROUND_TAB) { |