Blame view

js/basic.js 416 Bytes
bf807468   Alex Savenko   first commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
  if(window.matchMedia('(max-width: 959px)').matches) {$(function($) {
  	$('.top .sandwich').click(function() {
  		$('.top .sandwich, .menu').toggleClass('open');
  	});
  	$('.layout .burger').click(function() {
  		$('.leftbar').addClass('open');
  	});
  	$('.leftbar .close').click(function() {
  		$('.leftbar').removeClass('open');
  	});
  	$('.content').html(function (i, html) {
  		return html.replace(/ /g, ' ');
  	});
  });}