定数の参照間違い

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@6612 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2010-04-22 09:38:46 +00:00
parent 59cea65583
commit c5f9f0adad

View File

@ -113,14 +113,14 @@ var TreeStyleTabService = {
{
aTabBrowser = aTabBrowser || this.browser;
var max = Math.max(window.outerWidth, parseInt(document.documentElement.getAttribute('width') || 0));
return Math.min(aWidth, max * this.DEFAULT_SHRUNKEN_WIDTH_RATIO);
return Math.min(aWidth, max * this.MAX_TABBAR_SIZE_RATIO);
},
maxTabbarHeight : function TSTService_maxTabbarHeight(aHeight, aTabBrowser)
{
aTabBrowser = aTabBrowser || this.browser;
var max = Math.max(window.outerHeight, parseInt(document.documentElement.getAttribute('height') || 0));
return Math.min(aHeight, max * this.DEFAULT_SHRUNKEN_WIDTH_RATIO);
return Math.min(aHeight, max * this.MAX_TABBAR_SIZE_RATIO);
},
/* Initializing */