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(); }