diff --git a/content/treestyletab/res/tabsDragUtils.js b/content/treestyletab/res/tabsDragUtils.js index 208d42f0..d0bfa367 100644 --- a/content/treestyletab/res/tabsDragUtils.js +++ b/content/treestyletab/res/tabsDragUtils.js @@ -98,7 +98,7 @@ initTabDNDObserver : function TDU_initTabDNDObserver(aObserver) { if ('_setEffectAllowedForDataTransfer' in aObserver && - aObserver._setEffectAllowedForDataTransfer.toSource().indexOf('tabDragUtils') < 0) { + aObserver._setEffectAllowedForDataTransfer.toSource().indexOf('tabsDragUtils') < 0) { eval('aObserver._setEffectAllowedForDataTransfer = '+ aObserver._setEffectAllowedForDataTransfer.toSource().replace( 'dt.mozItemCount > 1', @@ -108,7 +108,7 @@ } if ('_animateTabMove' in aObserver && - aObserver._animateTabMove.toSource().indexOf('tabDragUtils') < 0) { + aObserver._animateTabMove.toSource().indexOf('tabsDragUtils') < 0) { eval('aObserver._animateTabMove = '+ aObserver._animateTabMove.toSource().replace( // support vertical tab bar /\.screenX/g, diff --git a/content/treestyletab/windowHelperHacks.js b/content/treestyletab/windowHelperHacks.js index d43b98fa..a44ab9cb 100644 --- a/content/treestyletab/windowHelperHacks.js +++ b/content/treestyletab/windowHelperHacks.js @@ -101,7 +101,7 @@ TreeStyleTabWindowHelper.overrideExtensionsPreInit = function TSTWH_overrideExte ' }' + ' tabsInfo[this.permaTabs[index].id] = info;' + ' }' + - ' TST.setTreePref('permaTabsInfo', tabsInfo.toSource());' + + ' TST.setTreePref("permaTabsInfo", tabsInfo.toSource());' + '}).call(this);' ) );