'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
/**
 * Created by baoyinghai on 4/19/17.
 */

var scrollAble = exports.scrollAble = function scrollAble() {
  var body = document.querySelector('body'); // = 'auto';
  body.className += ' overflow-y-auto';
};

var scrollDisable = exports.scrollDisable = function scrollDisable() {
  var body = document.querySelector('body'); // = 'auto';
  body.className = body.className && body.className.split(' ').filter(function (cssName) {
    return cssName !== 'overflow-y-auto';
  }).join(' ');
};

var infoFullHeight = exports.infoFullHeight = function infoFullHeight() {
  var infoWrapper = document.querySelector('.info-wrapper');
  infoWrapper.style.height = '100%';
};