Fix minor syntax errors
This commit is contained in:
parent
83626af553
commit
59281101a4
@ -98,7 +98,7 @@
|
|||||||
initTabDNDObserver : function TDU_initTabDNDObserver(aObserver)
|
initTabDNDObserver : function TDU_initTabDNDObserver(aObserver)
|
||||||
{
|
{
|
||||||
if ('_setEffectAllowedForDataTransfer' in aObserver &&
|
if ('_setEffectAllowedForDataTransfer' in aObserver &&
|
||||||
aObserver._setEffectAllowedForDataTransfer.toSource().indexOf('tabDragUtils') < 0) {
|
aObserver._setEffectAllowedForDataTransfer.toSource().indexOf('tabsDragUtils') < 0) {
|
||||||
eval('aObserver._setEffectAllowedForDataTransfer = '+
|
eval('aObserver._setEffectAllowedForDataTransfer = '+
|
||||||
aObserver._setEffectAllowedForDataTransfer.toSource().replace(
|
aObserver._setEffectAllowedForDataTransfer.toSource().replace(
|
||||||
'dt.mozItemCount > 1',
|
'dt.mozItemCount > 1',
|
||||||
@ -108,7 +108,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ('_animateTabMove' in aObserver &&
|
if ('_animateTabMove' in aObserver &&
|
||||||
aObserver._animateTabMove.toSource().indexOf('tabDragUtils') < 0) {
|
aObserver._animateTabMove.toSource().indexOf('tabsDragUtils') < 0) {
|
||||||
eval('aObserver._animateTabMove = '+
|
eval('aObserver._animateTabMove = '+
|
||||||
aObserver._animateTabMove.toSource().replace( // support vertical tab bar
|
aObserver._animateTabMove.toSource().replace( // support vertical tab bar
|
||||||
/\.screenX/g,
|
/\.screenX/g,
|
||||||
|
@ -101,7 +101,7 @@ TreeStyleTabWindowHelper.overrideExtensionsPreInit = function TSTWH_overrideExte
|
|||||||
' }' +
|
' }' +
|
||||||
' tabsInfo[this.permaTabs[index].id] = info;' +
|
' tabsInfo[this.permaTabs[index].id] = info;' +
|
||||||
' }' +
|
' }' +
|
||||||
' TST.setTreePref('permaTabsInfo', tabsInfo.toSource());' +
|
' TST.setTreePref("permaTabsInfo", tabsInfo.toSource());' +
|
||||||
'}).call(this);'
|
'}).call(this);'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user