TEXT   164
gunction getNavHub
Guest on 26th December 2024 05:15:46 AM


  1.  function getNavHub() {
  2.             return document.getElementById('hub');
  3.         }
  4.  
  5.         function _getSearchBucket() {
  6.             return document.getElementById('searchBucket');
  7.         }
  8.  
  9.         function _toggleSearch(toggle) {
  10.             container = document.getElementById('navWrapContainer');
  11.             if (toggle) {
  12.                 container.classList.add('search-expand');
  13.             } else {
  14.                 container.classList.remove('search-expand');
  15.             }
  16.         }

Raw Paste

Login or Register to edit or fork this paste. It's free.