Unverified Commit 2a6d4ac7 authored by Lauri Timmanee's avatar Lauri Timmanee
Browse files

Issue #3174088 by Ramya Balasubramanian, mherchel: Remove .mobile-buttons...

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

(cherry picked from commit 527fbc40)
parent f0d209b7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@
  Drupal.olivero = {};

  function isDesktopNav() {
    // @todo, I'm not sure we even need the .mobile-buttons container anymore.
    const navButtons = document.querySelector('.mobile-buttons');
    return (
      window.getComputedStyle(navButtons).getPropertyValue('display') === 'none'