Bug 387054 - Opening DomI - File Inspect Current Document throws error in JS Console. r=db48x, sr=neil
git-svn-id: svn://10.0.0.236/trunk@229433 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
dde1dab3da
commit
5cce0947ac
@ -625,6 +625,9 @@ DOMViewer.prototype =
|
||||
|
||||
removeClickListeners: function()
|
||||
{
|
||||
if (!this.mSelectDocs) // we didn't select an element by click
|
||||
return;
|
||||
|
||||
for (var i = 0; i < this.mSelectDocs.length; ++i) {
|
||||
this.mSelectDocs[i].removeEventListener("mousedown", MouseDownListener, true);
|
||||
this.mSelectDocs[i].removeEventListener("mouseup", EventCanceller, true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user