Uncheck the disabled checkbox about animation effects if browser.tabs.animate is disabled
This commit is contained in:
parent
c9a3d28c72
commit
f106546809
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user