Issue #3174088 by Ramya Balasubramanian, mherchel: Remove .mobile-buttons comment within Olivero's scripts.es6.js
parent
fe53c49822
commit
527fbc4025
|
@ -8,7 +8,6 @@
|
||||||
Drupal.olivero = {};
|
Drupal.olivero = {};
|
||||||
|
|
||||||
function isDesktopNav() {
|
function isDesktopNav() {
|
||||||
// @todo, I'm not sure we even need the .mobile-buttons container anymore.
|
|
||||||
const navButtons = document.querySelector('.mobile-buttons');
|
const navButtons = document.querySelector('.mobile-buttons');
|
||||||
return (
|
return (
|
||||||
window.getComputedStyle(navButtons).getPropertyValue('display') === 'none'
|
window.getComputedStyle(navButtons).getPropertyValue('display') === 'none'
|
||||||
|
|
Loading…
Reference in New Issue