twistyのスタイル「auto」を、情報化タブのサムネイル表示が有効な時は常にretroにするように

git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4771 599a83e7-65a4-db11-8015-0010dcdd6dc2
This commit is contained in:
piro 2009-07-21 06:08:37 +00:00
parent 4ec13b0a5a
commit 274a4f04bd

View File

@ -1165,7 +1165,8 @@ TreeStyleTabBrowser.prototype = {
case 'extensions.treestyletab.twisty.style':
if (value == 'auto') {
if (document.documentElement.getAttribute('informationaltab-thumbnail-enabled') == 'true') {
if (window['piro.sakura.ne.jp'].extensions.isAvailable('informationaltab@piro.sakura.ne.jp') &&
this.getPref('extensions.informationaltab.thumbnail.enabled')) {
value = 'retro';
}
else {