タブバーのオーバーフローの状態が更新されていなかった
git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6415 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
parent
d164df6118
commit
ec075e6e8e
@ -1209,10 +1209,15 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
updateTabbarOverflow : function TSTBrowser_updateTabbarOverflow()
|
updateTabbarOverflow : function TSTBrowser_updateTabbarOverflow()
|
||||||
{
|
{
|
||||||
var b = this.mTabBrowser;
|
var b = this.mTabBrowser;
|
||||||
b.mTabContainer.removeAttribute('overflow'); // Firefox 3.0.x
|
b.mTabContainer.removeAttribute('overflow'); // Firefox 3.0.x / Firefox 3.7
|
||||||
var container = document.getAnonymousElementByAttribute(b.mTabContainer, 'class', 'tabs-container');
|
var container = document.getAnonymousElementByAttribute(b.mTabContainer, 'class', 'tabs-container');
|
||||||
|
|
||||||
if (!container) return;
|
if (!container) {
|
||||||
|
if (this.placeholder)
|
||||||
|
container = b.mTabContainer;
|
||||||
|
else
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
container.removeAttribute('overflow');
|
container.removeAttribute('overflow');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user