TMupdateSettingsの上書き用コードを、不要な時は走らないように
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6643 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
0e3f927a2c
commit
6f71c5ab94
@ -330,6 +330,7 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function TSTService_override
|
|||||||
// Tab Mix Plus
|
// Tab Mix Plus
|
||||||
if (this.getTreePref('compatibility.TMP') &&
|
if (this.getTreePref('compatibility.TMP') &&
|
||||||
'TMupdateSettings' in window) {
|
'TMupdateSettings' in window) {
|
||||||
|
if (window.TMupdateSettings.toSource().indexOf('treeStyleTab') < 0) {
|
||||||
eval('window.TMupdateSettings = '+
|
eval('window.TMupdateSettings = '+
|
||||||
window.TMupdateSettings.toSource().replace(
|
window.TMupdateSettings.toSource().replace(
|
||||||
/(\{aTab.removeAttribute\("tabxleft"\);\})(\})/,
|
/(\{aTab.removeAttribute\("tabxleft"\);\})(\})/,
|
||||||
@ -339,6 +340,7 @@ TreeStyleTabService.overrideExtensionsOnInitAfter = function TSTService_override
|
|||||||
$2]]>
|
$2]]>
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
}
|
||||||
|
|
||||||
eval('window.TMP_contentAreaClick = '+
|
eval('window.TMP_contentAreaClick = '+
|
||||||
window.TMP_contentAreaClick.toSource().replace(
|
window.TMP_contentAreaClick.toSource().replace(
|
||||||
|
Loading…
Reference in New Issue
Block a user