Browse Source

must return bool, not undefined

pull/2/head
gorhill 9 years ago
parent
commit
6369d37567
  1. 2
      src/js/popup.js

2
src/js/popup.js

@ -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