diff --git a/addons/website/static/src/js/editor/snippets.options.js b/addons/website/static/src/js/editor/snippets.options.js index a6ebe3f9fe0..e793be13ae7 100644 --- a/addons/website/static/src/js/editor/snippets.options.js +++ b/addons/website/static/src/js/editor/snippets.options.js @@ -2081,7 +2081,7 @@ options.registry.HeaderNavbar = options.Class.extend({ async _computeWidgetVisibility(widgetName, params) { switch (widgetName) { case 'option_logo_height_scrolled': { - return !this.$('.navbar-brand').hasClass('d-none'); + return !!this.$('.navbar-brand').length; } case 'no_hamburger_opt': { return !weUtils.getCSSVariableValue('header-template').includes('hamburger');