Issue #3174088 by Ramya Balasubramanian, mherchel: Remove .mobile-buttons comment within Olivero's scripts.es6.js

merge-requests/83/head
Lauri Eskola 2020-11-27 15:39:00 +02:00
parent fe53c49822
commit 527fbc4025
No known key found for this signature in database
GPG Key ID: 382FC0F5B0DF53F8
1 changed files with 0 additions and 1 deletions

View File

@ -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'