From 66bd21ec30a20bb6a3bbceeacdff7260c2b36aa4 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Thu, 18 Dec 2008 21:47:36 -0500 Subject: [PATCH] Default to opening multiple URLs in windows instead of tabs when !has("tabs") --- common/content/liberator.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/content/liberator.js b/common/content/liberator.js index 9ce88e78..242fde11 100644 --- a/common/content/liberator.js +++ b/common/content/liberator.js @@ -1099,6 +1099,7 @@ const liberator = (function () //{{{ return open(urls, liberator.NEW_WINDOW); let tab = getBrowser().addTab(url, null, null, postdata); + if (where == liberator.NEW_TAB) getBrowser().selectedTab = tab; break; @@ -1124,8 +1125,6 @@ const liberator = (function () //{{{ for (let [i, url] in Iterator(urls)) { open(url, where); - if (i == 0 && !liberator.has("tabs")) - break; where = liberator.NEW_BACKGROUND_TAB; }