From 6369d37567bc00e2763c03acd67c25aff867b6cb Mon Sep 17 00:00:00 2001 From: gorhill Date: Wed, 13 May 2015 19:11:44 -0400 Subject: [PATCH] must return bool, not undefined --- src/js/popup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/popup.js b/src/js/popup.js index ca5356d..1135367 100644 --- a/src/js/popup.js +++ b/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) {