diff --git a/src/js/_enqueues/wp/customize/widgets.js b/src/js/_enqueues/wp/customize/widgets.js index 9e4b957a25..20659b1cac 100644 --- a/src/js/_enqueues/wp/customize/widgets.js +++ b/src/js/_enqueues/wp/customize/widgets.js @@ -1634,7 +1634,7 @@ */ getActiveSectionCount = function() { return _.filter( panel.sections(), function( section ) { - return section.active(); + return 'sidebar' === section.params.type && section.active(); } ).length; };