Skip to content
Snippets Groups Projects

Issue #3341110: Toolbar is colored when toolbar integration is off

3 files
+ 6
1
Compare changes
  • Side-by-side
  • Inline

Files

+ 1
1
@@ -12,7 +12,7 @@
Drupal.behaviors.environmentIndicatorToolbar = {
attach: function (context, settings) {
if (typeof(settings.environmentIndicator) != 'undefined') {
if (typeof (settings.environmentIndicator) != 'undefined' && settings.environmentIndicator.alterToolbar === true) {
const $body = $('body');
const borderWidth = getComputedStyle(document.body).getPropertyValue('--enviroment-indicator-border-width') || '6px';
Loading