Bug 1075665 - Fix typo in font inspector. r=paul
--- a/browser/devtools/fontinspector/font-inspector.js
+++ b/browser/devtools/fontinspector/font-inspector.js
@@ -36,17 +36,17 @@ FontInspector.prototype = {
this.inspector.sidebar.getCurrentTabID() == "fontinspector";
},
/**
* Remove listeners.
*/
destroy: function FI_destroy() {
this.chromeDoc = null;
- this.inspector.sidebar.off("layoutview-selected", this.onNewNode);
+ this.inspector.sidebar.off("fontinspector-selected", this.onNewNode);
this.inspector.selection.off("new-node", this.onNewNode);
this.showAllButton.removeEventListener("click", this.showAll);
},
/**
* Selection 'new-node' event handler.
*/
onNewNode: function FI_onNewNode() {