mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 564507 - Start Page 'open all tabs' is buggy [r=vingtetun]
This commit is contained in:
parent
75b1033134
commit
b011ef8fcf
@ -140,9 +140,8 @@
|
||||
|
||||
function openTabs(aURLs) {
|
||||
let BrowserUI = getChromeWin().BrowserUI;
|
||||
let urls = aURLs.split("|");
|
||||
for (let i=0; i< urls.length; i++) {
|
||||
BrowserUI.newTab(urls[i]);
|
||||
for (let i=0; i< aURLs.length; i++) {
|
||||
BrowserUI.newTab(aURLs[i]);
|
||||
}
|
||||
}
|
||||
|
||||
@ -178,7 +177,7 @@
|
||||
|
||||
let pageURL = url;
|
||||
outer.addEventListener("click", function() {
|
||||
openTabs(pageURL);
|
||||
openTabs([pageURL]);
|
||||
}, false);
|
||||
|
||||
allPageURLs.push(pageURL);
|
||||
@ -210,7 +209,7 @@
|
||||
outer.setAttribute("role", "button");
|
||||
|
||||
outer.addEventListener("click", function() {
|
||||
openTabs(allPageURLs.join("|"));
|
||||
openTabs(allPageURLs);
|
||||
}, false);
|
||||
|
||||
list.appendChild(outer);
|
||||
|
Loading…
Reference in New Issue
Block a user