Fix dynamic patch for QuickDrag (old patch doesn't work on Firefox 19 and later, fix #413)

This commit is contained in:
Piro / YUKI Hiroshi 2012-11-26 01:58:37 +09:00
parent c22edc7155
commit a40f24eb74

View File

@ -831,7 +831,7 @@ TreeStyleTabWindowHelper.overrideExtensionsAfterBrowserInit = function TSTWH_ove
eval('QuickDrag._loadTab = '+ eval('QuickDrag._loadTab = '+
QuickDrag._loadTab.toSource().replace( QuickDrag._loadTab.toSource().replace(
/(gBrowser.loadOneTab\()/g, /(gBrowser.loadOneTab\()/g,
'TreeStyleTabService.readyToOpenChildTab(); $1' 'TreeStyleTabService.readyToOpenChildTab(), $1'
) )
); );
} }