Advertisement
Guest User

main.js

a guest
Jan 18th, 2020
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (function($) {
  2.  
  3.     "use strict";
  4.  
  5.     var fullHeight = function() {
  6.  
  7.         $('.js-fullheight').css('height', $(window).height());
  8.         $(window).resize(function(){
  9.             $('.js-fullheight').css('height', $(window).height());
  10.         });
  11.  
  12.     };
  13.     fullHeight();
  14.  
  15.     $('#sidebarCollapse').on('click', function () {
  16.       $('#sidebar').toggleClass('active');
  17.   });
  18.  
  19. })(jQuery);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement