mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
+ Merged the two repos (added zpao's fixes for Minefield)
This commit is contained in:
commit
692d1efd8a
@ -454,7 +454,7 @@ function Tabs() {
|
||||
|
||||
EVENTS_TO_WATCH.forEach(
|
||||
function(eventType) {
|
||||
tabbrowser.addEventListener(eventType, onEvent, true);
|
||||
tabbrowser.tabContainer.addEventListener(eventType, onEvent, true);
|
||||
});
|
||||
|
||||
this.addTab = function addTab(url) {
|
||||
@ -473,7 +473,7 @@ function Tabs() {
|
||||
function() {
|
||||
EVENTS_TO_WATCH.forEach(
|
||||
function(eventType) {
|
||||
tabbrowser.removeEventListener(eventType, onEvent, true);
|
||||
tabbrowser.tabContainer.removeEventListener(eventType, onEvent, true);
|
||||
});
|
||||
for (var i = 0; i < tabbrowser.tabContainer.itemCount; i++)
|
||||
unloadBrowserTab(tabbrowser.tabContainer.getItemAtIndex(i));
|
||||
|
Loading…
Reference in New Issue
Block a user