From f10654680964833d040fee39f83a12088e9cd727 Mon Sep 17 00:00:00 2001 From: Piro / YUKI Hiroshi Date: Sun, 23 Sep 2012 15:10:44 +0900 Subject: [PATCH] Uncheck the disabled checkbox about animation effects if browser.tabs.animate is disabled --- content/treestyletab/config.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/config.js b/content/treestyletab/config.js index 7046debe..8d6f664f 100644 --- a/content/treestyletab/config.js +++ b/content/treestyletab/config.js @@ -62,10 +62,13 @@ function init() ensureGroupBookmarkItems(); var animation = document.getElementById('extensions.treestyletab.animation.enabled-check'); - if (prefs.getPref('browser.tabs.animate') === false) + if (prefs.getPref('browser.tabs.animate') === false) { animation.setAttribute('disabled', true); - else + animation.removeAttribute('checked'); + } + else { animation.removeAttribute('disabled'); + } // sizeToContent(); }