mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 19:38:13 +00:00
Bug 387054 - Opening DomI - File Inspect Current Document throws error in JS Console. r=db48x, sr=neil
This commit is contained in:
parent
3c74c29fd1
commit
08dd091513
@ -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…
Reference in New Issue
Block a user