diff --git a/content/treestyletab/hacks.js b/content/treestyletab/hacks.js index fc89f271..6ca3913e 100644 --- a/content/treestyletab/hacks.js +++ b/content/treestyletab/hacks.js @@ -670,9 +670,9 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function() { } // QuickDrag - if ('QuickDrag' in window && 'dragdrop' in QuickDrag) { - eval('QuickDrag.dragdrop = '+ - QuickDrag.dragdrop.toSource().replace( + if ('QuickDrag' in window && '_loadTab' in QuickDrag) { + eval('QuickDrag._loadTab = '+ + QuickDrag._loadTab.toSource().replace( /(gBrowser.loadOneTab\()/g, 'TreeStyleTabService.readyToOpenChildTab(); $1' )