From 59281101a4fe9f47caff4e0a84b6cf28e74b1979 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Fri, 12 Oct 2012 16:56:16 +0900 Subject: [PATCH] Fix minor syntax errors --- content/treestyletab/res/tabsDragUtils.js | 4 ++-- content/treestyletab/windowHelperHacks.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);' ) );