Tab Mix Plusの仕様変更に追従

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@5571 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-12-21 03:24:41 +00:00
parent ce7701ec5a
commit 4cd9ab20af

View File

@ -771,7 +771,8 @@ TreeStyleTabBrowser.prototype = {
// Tab Mix Plus
var scrollFrame, newTabBox, tabBarMode;
if (this.getTreePref('compatibility.TMP')) {
scrollFrame = document.getAnonymousElementByAttribute(b.mTabContainer, 'class', 'tabs-frame');
scrollFrame = document.getAnonymousElementByAttribute(b.mTabContainer, 'class', 'tabs-frame') ||
document.getAnonymousElementByAttribute(b.mTabContainer, 'anonid', 'scroll-tabs-frame');
newTabBox = document.getAnonymousElementByAttribute(b.mTabContainer, 'id', 'tabs-newbutton-box');
tabBarMode = this.getPref('extensions.tabmix.tabBarMode');
}