must return bool, not undefined

pull/2/head
gorhill 9 years ago
parent 446b5a0a81
commit 6369d37567

@ -279,7 +279,7 @@ function getCollapseState(domain) {
if ( typeof states === 'object' && states[domain] !== undefined ) {
return states[domain];
}
return getUISetting('popupCollapseDomains');
return getUISetting('popupCollapseDomains') === true;
}
function toggleCollapseState(elem) {

Loading…
Cancel
Save