diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 724ea0d0..6c5419f4 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -461,7 +461,7 @@ TreeStyleTabBrowser.prototype = { ) ); - if (b.tabContainer.tabbrowser == b) { // Firefox 3.7- + if (b.tabContainer.tabbrowser == b && '_handleKeyEvent' in b) { // Firefox 3.7- eval('b._handleKeyEvent = '+ b._handleKeyEvent.toSource().replace( 'this.moveTabOver(aEvent);',