1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-26 10:01:08 +12:00

must return bool, not undefined

This commit is contained in:
gorhill 2015-05-13 19:11:44 -04:00
parent 446b5a0a81
commit 6369d37567

View file

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