TMupdateSettingsの上書き用コードを、不要な時は走らないように

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6643 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-05-02 01:44:30 +00:00
parent 0e3f927a2c
commit 6f71c5ab94

View File

@ -330,6 +330,7 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function TSTService_override
// Tab Mix Plus
if (this.getTreePref('compatibility.TMP') &&
'TMupdateSettings' in window) {
if (window.TMupdateSettings.toSource().indexOf('treeStyleTab') < 0) {
eval('window.TMupdateSettings = '+
window.TMupdateSettings.toSource().replace(
/(\{aTab.removeAttribute\("tabxleft"\);\})(\})/,
@ -339,6 +340,7 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function TSTService_override
$2]]>
)
);
}
eval('window.TMP_contentAreaClick = '+
window.TMP_contentAreaClick.toSource().replace(