b=386534. r=gavin. removeEventListener needs 3 params

This commit is contained in:
mark.finkle@gmail.com 2007-07-06 07:35:39 -07:00
Родитель f4dbc00b25
Коммит 60df4f7b8d
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -624,7 +624,7 @@ Window.prototype = {
_shutdown : function() {
for (var type in this._cleanup)
this._tabbrowser.removeEventListener(type, this._cleanup[type]);
this._tabbrowser.removeEventListener(type, this._cleanup[type], true);
this._cleanup = null;
this._window = null;
@ -727,7 +727,7 @@ BrowserTab.prototype = {
_shutdown : function() {
for (var type in this._cleanup)
this._browser.removeEventListener(type, this._cleanup[type]);
this._browser.removeEventListener(type, this._cleanup[type], true);
this._cleanup = null;
this._window = null;