mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-09-30 09:06:56 +13:00
must return bool, not undefined
This commit is contained in:
parent
446b5a0a81
commit
6369d37567
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ function getCollapseState(domain) {
|
||||||
if ( typeof states === 'object' && states[domain] !== undefined ) {
|
if ( typeof states === 'object' && states[domain] !== undefined ) {
|
||||||
return states[domain];
|
return states[domain];
|
||||||
}
|
}
|
||||||
return getUISetting('popupCollapseDomains');
|
return getUISetting('popupCollapseDomains') === true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleCollapseState(elem) {
|
function toggleCollapseState(elem) {
|
||||||
|
|
Loading…
Reference in a new issue