diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 1b35cc12..21c33454 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -421,6 +421,9 @@ var TreeStyleTabService = { 'false' : 'dt.effectAllowed = "none"' ) + ).replace( + 'sourceNode.parentNode == this &&', + '$& TSTTabBrowser.treeStyleTab.getTabFromEvent(event) == sourceNode &&' ) ); }