Bug 1075665 - Fix typo in font inspector. r=paul
authorSimon Lindholm <simon.lindholm10@gmail.com>
Wed, 01 Oct 2014 17:39:09 +0100
changeset 210770 fc10d90f1027fc75c32a557de2a6036a836b95ca
parent 210769 3c8b7fa1a1589887dd38742cbc7c4f275f21b349
child 210771 063cdd7b00ccfc318bedb2135046900b99d4ce12
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewerspaul
bugs1075665
milestone36.0a1
Bug 1075665 - Fix typo in font inspector. r=paul
browser/devtools/fontinspector/font-inspector.js
--- 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() {